[Piuparts-commits] rev 521 - piatti/home/piupartsm/bin
Holger Levsen
holger at alioth.debian.org
Thu Oct 8 14:42:09 UTC 2009
Author: holger
Date: 2009-10-08 14:42:07 +0000 (Thu, 08 Oct 2009)
New Revision: 521
Modified:
piatti/home/piupartsm/bin/detect_slave_problems
Log:
fix logic bug
Modified: piatti/home/piupartsm/bin/detect_slave_problems
===================================================================
--- piatti/home/piupartsm/bin/detect_slave_problems 2009-10-08 13:32:01 UTC (rev 520)
+++ piatti/home/piupartsm/bin/detect_slave_problems 2009-10-08 14:42:07 UTC (rev 521)
@@ -53,7 +53,7 @@
cp $SCREENLOG screenlog.new
# dont complain if just started
-if [ -f screenlog.old ] && [ ! -s screenlog.old ] ; then
+if [ -f screenlog.old ] && [ -s screenlog.old ] ; then
diff screenlog.old screenlog.new >/dev/null 2>&1 && {
if [ ! -f $LOCKFILE ] ; then
{
More information about the Piuparts-commits
mailing list