From 9dc10fa7d916b21694e0989051fb481ea8695a3c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 19 Oct 2014 12:33:34 +0200 Subject: housekeeping: clearer output --- bin/housekeeping.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh index 2bddfe18..7ec26851 100755 --- a/bin/housekeeping.sh +++ b/bin/housekeeping.sh @@ -6,6 +6,9 @@ . /srv/jenkins/bin/common-functions.sh common_init "$@" +# let's have readable output here +set +x + check_for_mounted_chroots() { CHROOT_PATTERN="/chroots/${1}-*" OUTPUT=$(mktemp) @@ -43,8 +46,9 @@ report_filetype_usage() { if [ "$3" = "warn" ] && [ -s $OUTPUT ] ; then echo "Warning: there are $2 files and there should not be any." cat $OUTPUT - echo "Checking for running QEMU processes:" - ps fax | grep [q]emu-system || true + echo + echo "Checking for running QEMU processes: (might be causing these files to be there right now)" + ps fax | grep [q]emu-system | grep -v grep || true else cat $OUTPUT fi -- cgit v1.2.3-70-g09d2