global: use $0 for $ScriptLock

This commit is contained in:
Christian Hesse 2021-02-22 19:52:20 +01:00
parent f46db91845
commit 041ca062b1
8 changed files with 8 additions and 8 deletions

View file

@ -21,7 +21,7 @@
:global SendNotification;
:global SymbolForNotification;
$ScriptLock "collect-wireless-mac%TEMPL%";
$ScriptLock $0;
:if ([ :len [ / %PATH% access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
/ %PATH% access-list add comment="--- collected above ---" disabled=yes;