fix(install): return appropriate error codes (#2664)

Signed-off-by: Stefan Hacker <mail@hacst.net>
This commit is contained in:
Stefan Hacker 2024-02-23 01:34:51 +01:00 committed by GitHub
parent 108a5dae9b
commit 170ac079d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -694,6 +694,7 @@ main() (
set +u
if [ -z "${TEST_INSTALL_SH}" ]; then
set -u
exit $(main "$@")
main "$@"
exit $?
fi
set -u