diff options
author | Christian Hesse <mail@eworm.de> | 2024-12-06 10:26:34 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-12-09 11:49:50 +0100 |
commit | 2c4053cff55a7d0a90f364f7aded280422dc1d65 (patch) | |
tree | 5f0aea333071edfa0352a2476cb5c25acf2b2fa4 /accesslist-duplicates.local.rsc | |
parent | 52b5490babc9005fbbb8e0cb1e2ae323a2bd2f70 (diff) |
accesslist-duplicates: use $ExitError to indicate unintentional error
Diffstat (limited to 'accesslist-duplicates.local.rsc')
-rw-r--r-- | accesslist-duplicates.local.rsc | 5 |
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 ]; +} |