aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.capsman.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.capsman.rsc
parent52b5490babc9005fbbb8e0cb1e2ae323a2bd2f70 (diff)
accesslist-duplicates: use $ExitError to indicate unintentional error
Diffstat (limited to 'accesslist-duplicates.capsman.rsc')
-rw-r--r--accesslist-duplicates.capsman.rsc5
1 files changed, 4 insertions, 1 deletions
diff --git a/accesslist-duplicates.capsman.rsc b/accesslist-duplicates.capsman.rsc
index d6e2928..ce0ce11 100644
--- a/accesslist-duplicates.capsman.rsc
+++ b/accesslist-duplicates.capsman.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 ];
+}