From 3986bab031335da16f9043a0b46d18357fcd0c9f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 27 Apr 2017 15:40:15 +0200 Subject: reproducible Debian: no results are ok Signed-off-by: Holger Levsen --- bin/reproducible_build_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_build_service.sh') diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh index f6245160..4a46d332 100755 --- a/bin/reproducible_build_service.sh +++ b/bin/reproducible_build_service.sh @@ -222,7 +222,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") + RUNNING=$(ps fax|grep -v grep|grep "$WORKER_BIN $WORKER_NAME" 2>/dev/null||true) if [ ! -z "$RUNNING" ] ; then echo "$(date --utc) - '$(basename $WORKER_BIN) $WORKER_NAME' already running, thus moving on to the next." continue -- cgit v1.2.3-54-g00ecf