mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 10:14:31 +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
|
@ -10,7 +10,8 @@
|
|||
|
||||
# check mail server
|
||||
:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up") do={
|
||||
:error "Mail server is not up.";
|
||||
:log warning "Mail server is not up.";
|
||||
:error "Warning: See log for details.";
|
||||
}
|
||||
|
||||
:local Allowed [ / tool sms get allowed-number ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue