From 170bc415fe017af3cd9e59e4b0991992e5481618 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Sep 2015 04:03:47 +0200 Subject: reproducible: really deal with ssh failures gracefully --- bin/schroot-create.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/schroot-create.sh') diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index 2d4bc3cc..3c562565 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -177,6 +177,7 @@ sudo mv $CHROOT_TARGET $SCHROOT_BASE/"$TARGET" if [ -d $SCHROOT_BASE/"$TARGET"-"$rand" ] ; then sudo rm -rf --one-file-system $SCHROOT_BASE/"$TARGET"-"$rand" || ( echo "Warning: $SCHROOT_BASE/${TARGET}-$rand could not be fully removed." ; fuser -mv $SCHROOT_BASE/${TARGET}-$rand ; ls $SCHROOT_BASE/${TARGET}-$rand -la ) + # idea: ignore if 0 files are in thereā€¦ fi # write the schroot config -- cgit v1.2.3-70-g09d2