aboutsummaryrefslogtreecommitdiffstats
path: root/cloud-backup
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-04-03 17:30:00 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-04-03 17:30:00 +0200
commit03ae65c5f16111984f510969e2815908d59a0a0a (patch)
treea02d7bbfe0639b52eaa7d00295929bf8790519d1 /cloud-backup
parent1f1fef9fb59ec6653f3faff1096708039883dfc5 (diff)
cloud-backup: use $LogPrintExit
Diffstat (limited to 'cloud-backup')
-rw-r--r--cloud-backup3
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;
}