add force flag when removing /etc/mtab for exposedroot mode

cdebootstrap does not create /etc/mtab
This commit is contained in:
Jesse Hathaway 2007-10-30 17:03:44 -04:00 committed by Daniel Baumann
parent 3f92839a53
commit d896f1dd21
1 changed files with 1 additions and 1 deletions

View File

@ -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