diff options
author | Christian Hesse <mail@eworm.de> | 2020-04-03 17:30:00 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-04-03 17:30:00 +0200 |
commit | 03ae65c5f16111984f510969e2815908d59a0a0a (patch) | |
tree | a02d7bbfe0639b52eaa7d00295929bf8790519d1 | |
parent | 1f1fef9fb59ec6653f3faff1096708039883dfc5 (diff) |
cloud-backup: use $LogPrintExit
-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; } |