From 86ed56e7ad023f75a5662493031b3109d98415ff Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 24 Feb 2020 20:12:09 +0100 Subject: email-backup: use $LogAndError --- email-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'email-backup') 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 -- cgit v1.2.3-70-g09d2