[Piuparts-commits] rev 354 - piatti/home/piupartsm/bin

Holger Levsen holger at alioth.debian.org
Sat Apr 18 00:51:58 UTC 2009


Author: holger
Date: 2009-04-18 00:51:57 +0000 (Sat, 18 Apr 2009)
New Revision: 354

Modified:
   piatti/home/piupartsm/bin/detect_slave_problems
Log:
fix syntax error

Modified: piatti/home/piupartsm/bin/detect_slave_problems
===================================================================
--- piatti/home/piupartsm/bin/detect_slave_problems	2009-04-18 00:28:53 UTC (rev 353)
+++ piatti/home/piupartsm/bin/detect_slave_problems	2009-04-18 00:51:57 UTC (rev 354)
@@ -54,7 +54,7 @@
 # send screenlog daily no matter what, but only once a day :)
 #
 HOUR=`date +%H`
-if [ $HOUR = "00" ] ; then
+if [ "$HOUR" = "00" ] ; then
 	touch screenlog.yesterday
 	diff screenlog.yesterday screenlog.new | mail -s "piuparts-slave screenlog yesterday" piupartsm
 	cp screenlog.new screenlog.yesterday




More information about the Piuparts-commits mailing list