From 6cd9dc93608c751c5e64ccbe47c71349e8b64950 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 27 Apr 2014 21:48:34 +0200 Subject: reenable cleanup() --- bin/schroot-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index fca04f43..f59010b1 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -57,7 +57,7 @@ bootstrap() { cleanup() { if [ -d $CHROOT_TARGET ]; then - echo sudo rm -rf --one-file-system $CHROOT_TARGET || echo fuser -mv $CHROOT_TARGET + sudo rm -rf --one-file-system $CHROOT_TARGET || fuser -mv $CHROOT_TARGET fi } trap cleanup INT TERM EXIT -- cgit v1.2.3-70-g09d2