From 5ad353d580981e4936d0c2ece80ded7de8049c7f Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Fri, 20 Oct 2017 16:09:26 -0400 Subject: [PATCH] exit not return --- libretro-buildbot-recipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index f1a7ec1c..5361ec82 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -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 }