aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.wifi.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'accesslist-duplicates.wifi.rsc')
-rw-r--r--accesslist-duplicates.wifi.rsc5
1 files changed, 4 insertions, 1 deletions
diff --git a/accesslist-duplicates.wifi.rsc b/accesslist-duplicates.wifi.rsc
index f4dae4b..b1444e3 100644
--- a/accesslist-duplicates.wifi.rsc
+++ b/accesslist-duplicates.wifi.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 ];
+}