aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/aglsetup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/aglsetup.sh')
-rw-r--r--scripts/aglsetup.sh2
1 files changed, 1 insertions, 1 deletions
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 <args>'" >&2
- return 1
+ exit 56
else
unset SOURCED
tmpfile=$(mktemp /tmp/aglsetup.XXXXXXXX)