diff options
Diffstat (limited to 'collect-wireless-mac.template')
-rw-r--r-- | collect-wireless-mac.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template index f644f47..655fd47 100644 --- a/collect-wireless-mac.template +++ b/collect-wireless-mac.template @@ -18,7 +18,7 @@ $ScriptLock "collect-wireless-mac%TEMPL%"; -:if ([ / %PATH% access-list print count-only where comment="--- collected above ---" disabled ] = 0) do={ +:if ([ :len [ / %PATH% access-list find where comment="--- collected above ---" disabled ] ] = 0) do={ / %PATH% access-list add comment="--- collected above ---" disabled=yes; $LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false; } |