[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.45-107-g0c05390
Holger Levsen
holger at layer-acht.org
Tue Aug 28 07:53:40 UTC 2012
The following commit has been merged in the develop branch:
commit 0c05390a7ad50c24be6d355dfd118f5a36a96614
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Aug 28 09:53:28 2012 +0200
logic is hard
diff --git a/slave-bin/slave_join b/slave-bin/slave_join
index 2050651..024a38b 100755
--- a/slave-bin/slave_join
+++ b/slave-bin/slave_join
@@ -23,7 +23,7 @@ set -e
SCREENLOG=/org/piuparts.debian.org/slave/screenlog.0
-if [ $(ps fax|grep piuparts-slave|grep -v grep |wc -l) = 0 ] ; then
+if [ $(ps fax|grep piuparts-slave|grep -v grep |wc -l) = !0 ] ; then
screen -R -S piuparts-slave-screen
else
echo "piuparts-slave not running!"
--
piuparts git repository
More information about the Piuparts-commits
mailing list