mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
cloud-backup: use $LogPrintExit
This commit is contained in:
parent
1f1fef9fb5
commit
03ae65c5f1
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
:global Identity;
|
||||
|
||||
:global DeviceInfo;
|
||||
:global LogPrintExit;
|
||||
:global SendNotification;
|
||||
|
||||
:do {
|
||||
|
@ -31,5 +32,5 @@
|
|||
"Size: " . $Cloud->"size" . "\n" . \
|
||||
"Download key: " . $Cloud->"secret-download-key") "" "true";
|
||||
} on-error={
|
||||
:log error ("Failed uploading backup for " . $Identity . " to cloud.");
|
||||
$LogPrintExit error ("Failed uploading backup for " . $Identity . " to cloud.") false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue