From 448805c6452b1f15e861796e90af0504cd847bf7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 6 Sep 2015 16:08:02 +0200 Subject: reproducible: give better hint at the failure --- bin/schroot-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index 341fe9a5..2d4bc3cc 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -158,7 +158,7 @@ bootstrap() { cleanup() { if [ -d $CHROOT_TARGET ]; then - sudo rm -rf --one-file-system $CHROOT_TARGET || ( echo "Warning: $CHROOT_TARGET could not be fully removed." ; fuser -mv $CHROOT_TARGET ; ls $CHROOT_TARGET -la ) + sudo rm -rf --one-file-system $CHROOT_TARGET || ( echo "Warning: $CHROOT_TARGET could not be fully removed on forced cleanup." ; fuser -mv $CHROOT_TARGET ; ls $CHROOT_TARGET -la ) fi } trap cleanup INT TERM EXIT -- cgit v1.2.3-54-g00ecf