mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
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:
parent
81d8019207
commit
376c42893b
@ -694,6 +694,6 @@ main() (
|
|||||||
set +u
|
set +u
|
||||||
if [ -z "${TEST_INSTALL_SH}" ]; then
|
if [ -z "${TEST_INSTALL_SH}" ]; then
|
||||||
set -u
|
set -u
|
||||||
main "$@"
|
exit $(main "$@")
|
||||||
fi
|
fi
|
||||||
set -u
|
set -u
|
||||||
Loading…
x
Reference in New Issue
Block a user