mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-30 21:24:26 +02:00
upload-backup: use $LogAndError
This commit is contained in:
parent
c766d2dfda
commit
0e6438eaff
1 changed files with 2 additions and 2 deletions
|
@ -16,11 +16,11 @@
|
|||
:global CharacterReplace;
|
||||
:global DeviceInfo;
|
||||
:global SendNotification;
|
||||
: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