summaryrefslogtreecommitdiffstats
path: root/bin/housekeeping.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-04 21:41:50 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-04 21:41:50 +0100
commit15e90ebc5df0346e95137ecc91c31d5d4195d6cf (patch)
tree33193eb7ce875dd6d46fd003ca9aea6f2d1640ef /bin/housekeeping.sh
parente761ae8344a098f46a37789c5b02bba1a424aa24 (diff)
downloadjenkins.debian.net-15e90ebc5df0346e95137ecc91c31d5d4195d6cf.tar.xz
some more TODO. add job-type prefix to chroot-path
Diffstat (limited to 'bin/housekeeping.sh')
-rwxr-xr-xbin/housekeeping.sh5
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