From: davidplunkett Date: Tue, 26 Mar 2019 05:51:51 +0000 (+0000) Subject: use return because script is sourced X-Git-Tag: 1.0.0~18 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=a868fae7f1c6bd1f96a5fe5ae72e74caca03c162;p=redfish.git use return because script is sourced Change-Id: I08df1d09015339d405990cb86032c290e344478b Signed-off-by: davidplunkett --- 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