diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-10-28 17:45:23 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:27:16 +0100 |
| commit | 6485c19b08c1cd808a18325e2eb5c3b520b419bb (patch) | |
| tree | 9bfc6d5f56b10a4b90ca4757c6afe7f3e7e4af8f /scripts/check.sh | |
| parent | treefmt.nix: Ignore unflake.nix (diff) | |
| download | nixos-server-6485c19b08c1cd808a18325e2eb5c3b520b419bb.zip | |
scripts/check.sh: Exit with code 1 when tests failed
Diffstat (limited to 'scripts/check.sh')
| -rwxr-xr-x | scripts/check.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/check.sh b/scripts/check.sh index dbfa67d..6732dc1 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -35,4 +35,7 @@ if [ "$(cat "$failed" | wc -l)" -ne 0 ]; then while read -r test; do echo " - $test" done <"$failed" + exit 1 +else + exit 0 fi |
