From 05dfc37c80a2c6d05b82e3f734e9e315e5320df0 Mon Sep 17 00:00:00 2001 From: Philipp Wollschlegel Date: Tue, 21 Mar 2023 12:13:01 +0100 Subject: [PATCH] mapgen-jobs: remote exit 1 as it would be a plugin failure --- bin/mapgen-jobs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mapgen-jobs b/bin/mapgen-jobs index 0a2a8b7..a0fc5e5 100755 --- a/bin/mapgen-jobs +++ b/bin/mapgen-jobs @@ -7,7 +7,7 @@ function error { NOJOBS=$(ls -d1 /opt/mapgen/jobs/*.error 2> /dev/null | wc -l ) if [ "$NOJOBS" -gt 0 ]; then echo "MAPGEN_JOBS CRITICAL Error Jobs: $NOJOBS" - exit 1 + exit fi } function queued {