aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--upload-backup4
1 files changed, 2 insertions, 2 deletions
diff --git a/upload-backup b/upload-backup
index 4a10653..a761007 100644
--- a/upload-backup
+++ b/upload-backup
@@ -16,11 +16,11 @@
:global CharacterReplace;
:global DeviceInfo;
:global SendNotification;
+:global LogAndError;
:if ($BackupSendBinary != true && \
$BackupSendExport != true) do={
- :log error ("Configured to send neither backup nor config export.");
- :error "Error: See log for details.";
+ $LogAndError ("Configured to send neither backup nor config export.");
}
# filename based on identity