Explorar o código

buildbot-os2.sh: actually report an error code.

Ryan C. Gordon %!s(int64=9) %!d(string=hai) anos
pai
achega
16850b0a9c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      extras/buildbot-os2.sh

+ 2 - 0
extras/buildbot-os2.sh

@@ -64,7 +64,9 @@ fi
 
 if [ "$OKAY" == "1" ]; then
     echo 1>&2 "Build succeeded."
+    exit 0
 else
     echo 1>&2 "Build failed."
+    exit 1
 fi