X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Faglsetup.sh;fp=scripts%2Faglsetup.sh;h=3bb6e0cde87b192a05b89cae3b1cf97ab7ee0228;hb=8cbd61a838bfa3f46f66b5641c27c0492ceba2d8;hp=21a1e807018df14fcec898eec18064aeb9867e7b;hpb=d90dd1a4aa6fb62a69c74e9e824977351ef9f8c4;p=AGL%2Fmeta-agl.git diff --git a/scripts/aglsetup.sh b/scripts/aglsetup.sh index 21a1e8070..3bb6e0cde 100644 --- a/scripts/aglsetup.sh +++ b/scripts/aglsetup.sh @@ -39,7 +39,7 @@ if [ $SOURCED -ne 1 ]; then unset SOURCEDIR echo "Error: this script needs to be sourced in a supported shell" >&2 echo "Please check that the current shell is bash, zsh or ksh and run this script as '. $0 '" >&2 - return 1 + exit 56 else unset SOURCED tmpfile=$(mktemp /tmp/aglsetup.XXXXXXXX)