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

Holger Levsen holger at alioth.debian.org
Sat Aug 1 12:42:18 UTC 2009


Author: holger
Date: 2009-08-01 12:42:18 +0000 (Sat, 01 Aug 2009)
New Revision: 453

Modified:
   piatti/home/piupartsm/bin/detect_slave_problems
Log:
dont complain about intercepted error

Modified: piatti/home/piupartsm/bin/detect_slave_problems
===================================================================
--- piatti/home/piupartsm/bin/detect_slave_problems	2009-08-01 11:35:06 UTC (rev 452)
+++ piatti/home/piupartsm/bin/detect_slave_problems	2009-08-01 12:42:18 UTC (rev 453)
@@ -49,7 +49,7 @@
 chmod 775 $MONITORDIR
 
 # ~piupartss/bin/slave_run deletes screenlog.old so we know piuparts-slave has just been started 
-mv screenlog.new screenlog.old || cp $SCREENLOG screenlog.old
+mv screenlog.new screenlog.old 2>/dev/null || cp $SCREENLOG screenlog.old
 cp $SCREENLOG screenlog.new
 
 # dont complain if just started




More information about the Piuparts-commits mailing list