mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 00:04:51 +02: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…
Add table
Add a link
Reference in a new issue