From d896f1dd21c9c3efd193599352295bf79e16b6ec Mon Sep 17 00:00:00 2001 From: Jesse Hathaway Date: Tue, 30 Oct 2007 17:03:44 -0400 Subject: add force flag when removing /etc/mtab for exposedroot mode cdebootstrap does not create /etc/mtab --- helpers/lh_chroot_hacks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 8c08d55..7df2cdc 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -150,7 +150,7 @@ then # Mount doesn't write to a symlink so use /proc/mounts instead, # see debian bug #154438 for more info - rm chroot/etc/mtab + rm -f chroot/etc/mtab ln -s /proc/mounts chroot/etc/mtab fi -- cgit v1.0