mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 10:36:45 +01:00
fix(install): return appropriate error codes (#2664)
Signed-off-by: Stefan Hacker <mail@hacst.net>
This commit is contained in:
parent
108a5dae9b
commit
170ac079d4
@ -694,6 +694,7 @@ main() (
|
|||||||
set +u
|
set +u
|
||||||
if [ -z "${TEST_INSTALL_SH}" ]; then
|
if [ -z "${TEST_INSTALL_SH}" ]; then
|
||||||
set -u
|
set -u
|
||||||
exit $(main "$@")
|
main "$@"
|
||||||
|
exit $?
|
||||||
fi
|
fi
|
||||||
set -u
|
set -u
|
||||||
Loading…
x
Reference in New Issue
Block a user