Skip to content

Commit

Permalink
Use correct exit code for 'command not found'
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Oct 23, 2023
1 parent d4c07c3 commit 7e8aa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-client-tarball
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ elif test -x /usr/libexec/platform-python; then
python=/usr/libexec/platform-python
else
echo >&2 "Can't find Python"
exit 255
exit 127
fi

exec "$python" "$(dirname "$0")/make_client_tarball.py" "$@"

0 comments on commit 7e8aa09

Please sign in to comment.