aboutsummaryrefslogtreecommitdiffstats
path: root/upload-backup
diff options
context:
space:
mode:
Diffstat (limited to 'upload-backup')
-rw-r--r--upload-backup4
1 files changed, 4 insertions, 0 deletions
diff --git a/upload-backup b/upload-backup
index 3c09b58..7fd092e 100644
--- a/upload-backup
+++ b/upload-backup
@@ -71,3 +71,7 @@ $SendNotification ([ $SymbolForNotification [ $IfThenElse ($Failed > 0) "warning
[ $DeviceInfo ] . "\n\n" . \
"Backup file: " . $BackupFile . "\n" . \
"Config file: " . $ConfigFile) "" "true";
+
+:if ($Failed = 1) do={
+ :error "An error occured!";
+}