summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildbot/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildbot/build.sh b/buildbot/build.sh
index c6ff84c..ae82501 100755
--- a/buildbot/build.sh
+++ b/buildbot/build.sh
@@ -12,7 +12,9 @@ PAUSE_LOCKFILE=/tmp/buildbot_pause.lock
if [ -f $PAUSE_LOCKFILE ]; then
echo "The Buildbot is paused, remove ${PAUSE_LOCKFILE} to resume."
-exit 0
+# exit code 2 not really documented, just something
+# different from the classical 1 (it's not a error after all).
+exit 2
fi
sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-build'