Skip to content

Commit 8ff5179

Browse files
Remove build-in error exit for generic error exit
Exit code 2 usually relates to build-ins which does not fit what is failing here. Not sure what alternative would be best so we can just use the generic failure code Co-authored-by: Nick <[email protected]>
1 parent a3f69cd commit 8ff5179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fi
8383
# Use GNU getopt to parse options
8484
if ! PARSED=$(getopt --options $SHORTOPTS --longoptions $LONGOPTS --name "$0" -- "$@"); then
8585
echo "Error parsing options"
86-
exit 2
86+
exit 1
8787
fi
8888
eval set -- "$PARSED"
8989

0 commit comments

Comments
 (0)