aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.capsman
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-22 19:52:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-24 21:51:56 +0100
commit041ca062b1d07843e7ef9ae8e99a753e344189e5 (patch)
tree3425599f6d4cdecd555b6fa4b33afafd8f8ead5f /collect-wireless-mac.capsman
parentf46db918453dcb8878b9a0de6e122fb0ea2224d9 (diff)
global: use $0 for $ScriptLock
Diffstat (limited to 'collect-wireless-mac.capsman')
-rw-r--r--collect-wireless-mac.capsman2
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman
index 248a14d..ca43dc5 100644
--- a/collect-wireless-mac.capsman
+++ b/collect-wireless-mac.capsman
@@ -20,7 +20,7 @@
:global SendNotification;
:global SymbolForNotification;
-$ScriptLock "collect-wireless-mac.capsman";
+$ScriptLock $0;
:if ([ :len [ / caps-man access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
/ caps-man access-list add comment="--- collected above ---" disabled=yes;