diff options
author | Christian Hesse <mail@eworm.de> | 2020-02-24 20:12:09 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-02-26 11:51:49 +0100 |
commit | 86ed56e7ad023f75a5662493031b3109d98415ff (patch) | |
tree | 6af6f09d906572f905d64d17bd711e3f42543803 /email-backup | |
parent | 286d7ced11a07686712b07483aacfb684f3311a5 (diff) |
email-backup: use $LogAndError
Diffstat (limited to 'email-backup')
-rw-r--r-- | email-backup | 4 |
1 files changed, 2 insertions, 2 deletions
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 |