From 5429180b3fb0c9366f971a487d8a9de62a997250 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Fri, 20 Oct 2017 21:39:03 -0400 Subject: [PATCH] only exit on error if there actually was one --- libretro-buildbot-recipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index c304e32c..28f8d536 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -278,7 +278,7 @@ buildbot_handle_message() { buildbot_log "$MESSAGE" # used by Travis-CI to exit immediately if a core build fails, instead of trying to build RA anyways (for static/console builds) - if [ "$EXIT_ON_ERROR" = "1" ]; then + if [ $RET -ne 0 ] && [ "$EXIT_ON_ERROR" = "1" ]; then exit 1 fi }