Skip to content
Snippets Groups Projects
Commit 06bd50a6 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

less wrong way to propagate errors maybe

parent bebf9368
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,6 @@ fi ...@@ -34,6 +34,6 @@ fi
# vulnix exits with an error status if there are vulnerabilities. We told # vulnix exits with an error status if there are vulnerabilities. We told
# GitLab to allow this by setting `allow_failure` to true in the GitLab CI # GitLab to allow this by setting `allow_failure` to true in the GitLab CI
# config. # config.
set +eo pipefail set +e
status=$(nix-shell -p vulnix --run 'vulnix ./scan-target/' | tee "$OUTPUT") nix-shell -p vulnix --run 'vulnix ./scan-target/' | tee "$OUTPUT"
exit $status exit $?
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment