From 0e6438eaff6aa36d93b6cbb48eeb6c5510856d02 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 24 Feb 2020 20:14:21 +0100 Subject: upload-backup: use $LogAndError --- upload-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload-backup b/upload-backup index 4a10653..a761007 100644 --- a/upload-backup +++ b/upload-backup @@ -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 -- cgit v1.2.3-70-g09d2