mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
email-backup: use $LogAndError
This commit is contained in:
parent
286d7ced11
commit
86ed56e7ad
1 changed files with 2 additions and 2 deletions
|
@ -14,11 +14,11 @@
|
|||
|
||||
:global CharacterReplace;
|
||||
:global DeviceInfo;
|
||||
:global LogAndError;
|
||||
|
||||
:if ($BackupSendBinary != true && \
|
||||
$BackupSendExport != true) do={
|
||||
:log error ("Configured to send neither backup nor config export.");
|
||||
:error "Error: See log for details.";
|
||||
$LogAndError ("Configured to send neither backup nor config export.");
|
||||
}
|
||||
|
||||
# filename based on identity
|
||||
|
|
Loading…
Reference in a new issue