From 376c42893b38a68e9703470d9e625bf98612a1d4 Mon Sep 17 00:00:00 2001 From: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com> Date: Thu, 6 Jul 2023 22:56:07 +0200 Subject: [PATCH] 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 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f118257ed68..9d49f9c8cb2 100755 --- a/install.sh +++ b/install.sh @@ -694,6 +694,6 @@ main() ( set +u if [ -z "${TEST_INSTALL_SH}" ]; then set -u - main "$@" + exit $(main "$@") fi set -u \ No newline at end of file