diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-27 21:48:34 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-27 21:48:34 +0200 |
commit | 6cd9dc93608c751c5e64ccbe47c71349e8b64950 (patch) | |
tree | 94f905dc707a21650313e91fc42f6bb0320c5e0b | |
parent | 3107da18df7a086705f6affe605ea634d06f4f57 (diff) | |
download | jenkins.debian.net-6cd9dc93608c751c5e64ccbe47c71349e8b64950.tar.xz |
reenable cleanup()
-rwxr-xr-x | bin/schroot-create.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |