fix(install): return with right error code (#1915)

This resolves #1566.

Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
Co-authored-by: Christopher Phillips <cphillips918@gmail.com>
This commit is contained in:
Lorenzo Orsatti 2023-07-06 22:56:07 +02:00 committed by GitHub
parent 81d8019207
commit 376c42893b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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