email-backup: use $LogAndError

This commit is contained in:
Christian Hesse 2020-02-24 20:12:09 +01:00
parent 286d7ced11
commit 86ed56e7ad

View file

@ -14,11 +14,11 @@
:global CharacterReplace; :global CharacterReplace;
:global DeviceInfo; :global DeviceInfo;
:global LogAndError;
:if ($BackupSendBinary != true && \ :if ($BackupSendBinary != true && \
$BackupSendExport != true) do={ $BackupSendExport != true) do={
:log error ("Configured to send neither backup nor config export."); $LogAndError ("Configured to send neither backup nor config export.");
:error "Error: See log for details.";
} }
# filename based on identity # filename based on identity