aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--email-backup4
1 files changed, 2 insertions, 2 deletions
diff --git a/email-backup b/email-backup
index d10acb2..9761206 100644
--- a/email-backup
+++ b/email-backup
@@ -14,11 +14,11 @@
:global CharacterReplace;
:global DeviceInfo;
+: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