summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_chroot_hacks2
1 files changed, 1 insertions, 1 deletions
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