summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/schroot-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 656ba006..7f48ae70 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -63,7 +63,7 @@ bootstrap() {
done
sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@"
for d in $DEVICES ; do
- sudo umount $CHROOT_TARGET/$d
+ sudo umount -l $CHROOT_TARGET/$d
done
fi
}