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 1b23f7df..4af2736a 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -108,7 +108,7 @@ bootstrap() {
set -e
if [ -z "$RESULT" ] ; then
echo "$(date -u) - initial debootstrap failed, sleeping 5min before retrying..."
- rm $CHROOT_TARGET -rf
+ sudo rm -rf --one-file-system $CHROOT_TARGET
sleep 5m
sudo debootstrap $SUITE $CHROOT_TARGET $MIRROR
fi