summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-27 21:48:34 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-27 21:48:34 +0200
commit6cd9dc93608c751c5e64ccbe47c71349e8b64950 (patch)
tree94f905dc707a21650313e91fc42f6bb0320c5e0b /bin
parent3107da18df7a086705f6affe605ea634d06f4f57 (diff)
downloadjenkins.debian.net-6cd9dc93608c751c5e64ccbe47c71349e8b64950.tar.xz
reenable cleanup()
Diffstat (limited to 'bin')
-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 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