[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: fix logic
Holger Levsen
holger at layer-acht.org
Thu Apr 27 13:34:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 0716600e414d83afae6c0049513e1ae959dc8473
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Apr 27 15:34:50 2017 +0200
reproducible Debian: fix logic
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build_service.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index af0eb9e..f624516 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list