From 6063c3118c34c24af7f15e602d0e2bcca069e60f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 10 Dec 2012 11:08:58 +0100 Subject: treat no tmpfs mounts as fatal --- bin/housekeeping.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh index b1c862c1..3af8ee7b 100755 --- a/bin/housekeeping.sh +++ b/bin/housekeeping.sh @@ -39,8 +39,7 @@ if [ "$HOUSE" != "" ] ; then exit 1 fi -# FIXME: no tmpfs should really mean exit 1 not 0 -df |grep tmpfs > /dev/null || ( echo "Warning: no tmpfs mounts in use. Please investigate the host system." ; exit 0 ) +df |grep tmpfs > /dev/null || ( echo "Warning: no tmpfs mounts in use. Please investigate the host system." ; exit 1 ) echo echo "No problems found, all seems good." -- cgit v1.2.3-70-g09d2