mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 18:24:34 +02:00
always write warnings and errors to log
This commit is contained in:
parent
27b2fffaaf
commit
b35c0b8a6f
10 changed files with 25 additions and 12 deletions
|
@ -17,7 +17,8 @@ $ScriptLock "collect-wireless-mac%TEMPL%";
|
|||
|
||||
:local PlaceBefore [ / %PATH% access-list find where comment="--- collected above ---" disabled ];
|
||||
:if ([ :len $PlaceBefore ] = 0) do={
|
||||
:error "Missing disabled access-list entry with comment '--- collected above ---'";
|
||||
:log error "Missing disabled access-list entry with comment '--- collected above ---'";
|
||||
:error "Error: See log for details.";
|
||||
}
|
||||
|
||||
:foreach RegTbl in=[ / %PATH% registration-table find ] do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue