diff options
author | Christian Hesse <mail@eworm.de> | 2020-02-24 20:14:21 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-02-26 11:51:49 +0100 |
commit | 0e6438eaff6aa36d93b6cbb48eeb6c5510856d02 (patch) | |
tree | ac8af9155c7b2ea02432b5499098bc0bcfabc001 | |
parent | c766d2dfda1a421e8e222e850bbddf644380c691 (diff) |
upload-backup: use $LogAndError
-rw-r--r-- | upload-backup | 4 |
1 files 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 |