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.rsc8
1 files changed, 3 insertions, 5 deletions
diff --git a/accesslist-duplicates.wifi.rsc b/accesslist-duplicates.wifi.rsc
index 04ac19c..65f8aaa 100644
--- a/accesslist-duplicates.wifi.rsc
+++ b/accesslist-duplicates.wifi.rsc
@@ -13,8 +13,8 @@
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
-:local Main do={
- :local ScriptName [ :tostr $1 ];
+:do {
+ :local ScriptName [ :jobname ];
:local Seen ({});
@@ -31,6 +31,4 @@
}
:set ($Seen->$Mac) 1;
}
-}
-
-$Main [ :jobname ];
+} on-error={ }