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 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