exit not return

This commit is contained in:
Brad Parker 2017-10-20 16:09:26 -04:00
parent f07a02f9df
commit 5ad353d580

View File

@ -275,8 +275,8 @@ buildbot_handle_message() {
echo buildbot job: $MESSAGE
buildbot_log "$MESSAGE"
if [ "$FAIL_ON_ERROR" = "1" ]; then
return 1
if [ "$EXIT_ON_ERROR" = "1" ]; then
exit 1
fi
}