mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
upload-backup: use $LogAndError
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user