commit e361b67ab4f6ef25a6387674494f76eced031563
parent 0b69486dc16953d025c5ff2508281e84bfba81a0
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 3 Jun 2019 12:20:26 +0200
paused BB treated as hard error (code 1 returned).
This should prevent dependent schedulers to fire up.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/buildbot/build.sh b/buildbot/build.sh
@@ -9,9 +9,9 @@ PAUSE_LOCKFILE=/tmp/buildbot_pause.lock
if [ -f $PAUSE_LOCKFILE ]; then
echo "The Buildbot is paused, remove ${PAUSE_LOCKFILE} to resume."
-# exit code 2 not really documented, just something
-# different from the classical 1 (it's not a error after all).
-exit 2
+
+# Treat this as error, so dependent schedulers won't fire up.
+exit 1
fi
source "${HOME}/activate"