Switch from return to exit 1 when ASDF_DIR is not a dir.

This commit is contained in:
Trevor Brown 2018-07-14 09:47:33 -04:00
parent 657cef833a
commit 6d63496528

View File

@ -8,7 +8,7 @@ fi
export ASDF_DIR
ASDF_DIR="$(dirname "$current_script_path")"
[ -d "$ASDF_DIR" ] || return
[ -d "$ASDF_DIR" ] || exit 1
# Add asdf to PATH
#