summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-05-16 12:20:33 +0200
committerHolger Levsen <holger@layer-acht.org>2013-05-16 12:20:33 +0200
commitaf4c7ef10f8b04f6ec9c8f2f79aa2a1cf6d31c6b (patch)
treeefa6a650c9325b7eb8863fa4f0cbdbf3083377bc /bin
parent8dca8ee42ab9325c8ac70e012eede8d4c24a7602 (diff)
downloadjenkins.debian.net-af4c7ef10f8b04f6ec9c8f2f79aa2a1cf6d31c6b.tar.xz
make chroot-installation housekeeping job work again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/housekeeping.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh
index b03e16e0..5b8ef433 100755
--- a/bin/housekeeping.sh
+++ b/bin/housekeeping.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2012 Holger Levsen <holger@layer-acht.org>
+# Copyright 2012-2013 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
#
@@ -21,7 +21,7 @@ check_for_mounted_chroots() {
echo "$ ls -la $CHROOT_PATTERN"
# List the processes using the partition
echo
- fuser -mv $CHROOT_TARGET
+ fuser -mv $CHROOT_PATTERN
cat $OUTPUT
rm $OUTPUT
exit 1
@@ -97,7 +97,7 @@ if [ -z $1 ] ; then
report_squid_usage brief
else
case $1 in
- chroot-installation) wait4idle $1
+ chroot-installation*) wait4idle $1
report_disk_usage $1
check_for_mounted_chroots $1
;;