From ae8cb3bce02962693c52019eba0a14748cad5416 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 8c08d5504..7df2cdcb0 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.2.3