diff options
-rw-r--r-- | cloud-backup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloud-backup b/cloud-backup index 316a2a4..89648d5 100644 --- a/cloud-backup +++ b/cloud-backup @@ -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; } |