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