Parcourir la source

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

Ryan C. Gordon il y a 8 ans
Parent
commit
16850b0a9c
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      extras/buildbot-os2.sh

+ 2 - 0
extras/buildbot-os2.sh

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