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
parent 1385ab5526
commit ae8cb3bce0
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