aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.local.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-12-06 10:26:34 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-12-09 11:49:50 +0100
commit2c4053cff55a7d0a90f364f7aded280422dc1d65 (patch)
tree5f0aea333071edfa0352a2476cb5c25acf2b2fa4 /accesslist-duplicates.local.rsc
parent52b5490babc9005fbbb8e0cb1e2ae323a2bd2f70 (diff)
accesslist-duplicates: use $ExitError to indicate unintentional error
Diffstat (limited to 'accesslist-duplicates.local.rsc')
-rw-r--r--accesslist-duplicates.local.rsc5
1 files changed, 4 insertions, 1 deletions
diff --git a/accesslist-duplicates.local.rsc b/accesslist-duplicates.local.rsc
index e90842d..aa78fe8 100644
--- a/accesslist-duplicates.local.rsc
+++ b/accesslist-duplicates.local.rsc
@@ -13,6 +13,7 @@
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+:local ExitOK false;
:do {
:local ScriptName [ :jobname ];
@@ -31,4 +32,6 @@
}
:set ($Seen->$Mac) 1;
}
-} on-error={ }
+} on-error={
+ :global ExitError; $ExitError $ExitOK [ :jobname ];
+}