From af4c7ef10f8b04f6ec9c8f2f79aa2a1cf6d31c6b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 16 May 2013 12:20:33 +0200 Subject: make chroot-installation housekeeping job work again --- bin/housekeeping.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/housekeeping.sh') 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 +# Copyright 2012-2013 Holger Levsen # 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 ;; -- cgit v1.2.3-70-g09d2