upload-backup: use $LogAndError

This commit is contained in:
Christian Hesse 2020-02-24 20:14:21 +01:00
parent c766d2dfda
commit 0e6438eaff

View file

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