aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-10-28 17:45:23 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 00:27:16 +0100
commit6485c19b08c1cd808a18325e2eb5c3b520b419bb (patch)
tree9bfc6d5f56b10a4b90ca4757c6afe7f3e7e4af8f
parenttreefmt.nix: Ignore unflake.nix (diff)
downloadnixos-server-6485c19b08c1cd808a18325e2eb5c3b520b419bb.zip
scripts/check.sh: Exit with code 1 when tests failed
-rwxr-xr-xscripts/check.sh3
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