Skip to content

Commit

Permalink
fix(install): return appropriate error codes (anchore#2664)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Hacker <mail@hacst.net>
  • Loading branch information
hacst authored Feb 23, 2024
1 parent 108a5da commit 170ac07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ main() (
set +u
if [ -z "${TEST_INSTALL_SH}" ]; then
set -u
exit $(main "$@")
main "$@"
exit $?
fi
set -u

0 comments on commit 170ac07

Please sign in to comment.