X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Faglsetup.sh;h=3bb6e0cde87b192a05b89cae3b1cf97ab7ee0228;hb=4ce5e70c2b1dfec15127dd7b4ea7bed8dfdf3271;hp=21a1e807018df14fcec898eec18064aeb9867e7b;hpb=e28b57f91a916aa09bcbc25ba109338731a70a23;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)