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

Holger Levsen holger at alioth.debian.org
Tue Apr 7 16:58:26 UTC 2009


Author: holger
Date: 2009-04-07 16:58:26 +0000 (Tue, 07 Apr 2009)
New Revision: 330

Modified:
   piatti/home/piupartsm/bin/detect_slave_problems
Log:
dont bother to send mails on development machines

Modified: piatti/home/piupartsm/bin/detect_slave_problems
===================================================================
--- piatti/home/piupartsm/bin/detect_slave_problems	2009-04-07 15:33:52 UTC (rev 329)
+++ piatti/home/piupartsm/bin/detect_slave_problems	2009-04-07 16:58:26 UTC (rev 330)
@@ -18,8 +18,12 @@
 
 #
 # this scripts monitors the output of piuparts-slave
-# when running in screen started by ~piupartss/bin/slave_run
+# when running in screen started by ~piupartss/bin/slave_run on piatti
 #
+HOSTNAME=`hostname`
+if [ "$HOSTNAME" != "piatti" ] ; then
+	exit 0
+fi
 
 SCREENLOG=/org/piuparts.debian.org/slave/screenlog.0
 MONITORDIR=/org/piuparts.debian.org/master/monitor-slave




More information about the Piuparts-commits mailing list