[Piuparts-commits] rev 886 - piatti/home/piupartsm/bin
Holger Levsen
holger at alioth.debian.org
Wed Feb 16 16:14:43 UTC 2011
Author: holger
Date: 2011-02-16 16:14:38 +0000 (Wed, 16 Feb 2011)
New Revision: 886
Modified:
piatti/home/piupartsm/bin/detect_slave_problems
Log:
exit earlier
Modified: piatti/home/piupartsm/bin/detect_slave_problems
===================================================================
--- piatti/home/piupartsm/bin/detect_slave_problems 2011-02-07 19:15:54 UTC (rev 885)
+++ piatti/home/piupartsm/bin/detect_slave_problems 2011-02-16 16:14:38 UTC (rev 886)
@@ -16,6 +16,11 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+HOSTNAME=`hostname`
+if [ "$HOSTNAME" != "piatti" ] ; then
+ exit 0
+fi
+
#
# parse config file
#
@@ -31,14 +36,9 @@
#
# this scripts monitors the output of piuparts-slave
-# when running in screen started by ~piupartss/bin/slave_run on piatti
+# when running in screen started by ~piupartss/bin/slave_run
#
-HOSTNAME=`hostname`
-if [ "$HOSTNAME" != "piatti" ] ; then
- exit 0
-fi
-
SCREENLOG=$MASTER/../slave/screenlog.0
MONITORDIR=$MASTER/monitor-slave
LOCKFILE="$MONITORDIR/slave-problems"
More information about the Piuparts-commits
mailing list