diff options
Diffstat (limited to 'bin/housekeeping.sh')
-rwxr-xr-x | bin/housekeeping.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh index 5236b5dc..eb0ced7e 100755 --- a/bin/housekeeping.sh +++ b/bin/housekeeping.sh @@ -15,14 +15,15 @@ echo vnstat echo -HOUSE=$(ls /chroots/) +CHROOT_PATTERN="/chroots/chroot-tests-*" +HOUSE=$(ls $CHROOT_PATTERN) if [ "$HOUSE" != "" ] ; then figlet "Warning:" echo echo "Probably manual cleanup needed:" echo echo "$ ls -la /chroots/" - ls -la /chroots/ + echo $HOUSE exit 1 fi |