mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
backup-cloud: keep floppy emoji for failure
This commit is contained in:
@ -52,7 +52,7 @@ $WaitFullyConnected;
|
|||||||
"Download key: " . $Cloud->"secret-download-key"); silent=true });
|
"Download key: " . $Cloud->"secret-download-key"); silent=true });
|
||||||
} on-error={
|
} on-error={
|
||||||
$SendNotification2 ({ origin=$0; \
|
$SendNotification2 ({ origin=$0; \
|
||||||
subject=([ $SymbolForNotification "warning-sign" ] . "Cloud backup failed"); \
|
subject=([ $SymbolForNotification "floppy-disk,warning-sign" ] . "Cloud backup failed"); \
|
||||||
message=("Failed uploading backup for " . $Identity . " to cloud!\n\n" . [ $DeviceInfo ]) });
|
message=("Failed uploading backup for " . $Identity . " to cloud!\n\n" . [ $DeviceInfo ]) });
|
||||||
$LogPrintExit2 error $0 ("Failed uploading backup for " . $Identity . " to cloud!") true;
|
$LogPrintExit2 error $0 ("Failed uploading backup for " . $Identity . " to cloud!") true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user