From a868fae7f1c6bd1f96a5fe5ae72e74caca03c162 Mon Sep 17 00:00:00 2001 From: davidplunkett Date: Tue, 26 Mar 2019 05:51:51 +0000 Subject: [PATCH] use return because script is sourced Change-Id: I08df1d09015339d405990cb86032c290e344478b Signed-off-by: davidplunkett --- setup_tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_tools.sh b/setup_tools.sh index 48e93da..9f9bc52 100755 --- a/setup_tools.sh +++ b/setup_tools.sh @@ -44,7 +44,7 @@ set -- "${POSITIONAL[@]}" # restore positional parameters # SKIP IF TOOLS HAVE ALREADY BEEN SETUP if [ -n "$REDFISH_TOOLS_SETUP" ]; then - exit 0 + return 0 fi # LOAD BUILD DEFAULT VALUES IF BUILD VARIABLES ARE NOT LOADED -- 2.16.6