From 041ca062b1d07843e7ef9ae8e99a753e344189e5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 22 Feb 2021 19:52:20 +0100 Subject: global: use $0 for $ScriptLock --- collect-wireless-mac.capsman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collect-wireless-mac.capsman') 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; -- cgit v1.2.3-70-g09d2