summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_service.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-27 15:34:50 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-27 15:34:50 +0200
commit0716600e414d83afae6c0049513e1ae959dc8473 (patch)
tree388f9387eebac3cafdbe91f8059322d5f17961c9 /bin/reproducible_build_service.sh
parent12a121fe4b4d818a3b89bf72e6e2228c1ee7403f (diff)
downloadjenkins.debian.net-0716600e414d83afae6c0049513e1ae959dc8473.tar.xz
reproducible Debian: fix logic
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build_service.sh')
-rwxr-xr-xbin/reproducible_build_service.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index af0eb9e7..f6245160 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -223,7 +223,7 @@ startup_workers() {
WORKER_NAME=${ARCH}_$i
WORKER_BIN=/srv/jenkins/bin/reproducible_worker.sh
RUNNING=$(ps fax|grep -v grep|grep "$WORKER_BIN $WORKER_NAME")
- if [ -z "$RUNNING" ] ; then
+ if [ ! -z "$RUNNING" ] ; then
echo "$(date --utc) - '$(basename $WORKER_BIN) $WORKER_NAME' already running, thus moving on to the next."
continue
fi