diff options
author | Christian Hesse <mail@eworm.de> | 2020-02-26 11:49:11 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-02-26 11:49:11 +0100 |
commit | bb9a4e6ecf25c63fae23d67281925215b67019eb (patch) | |
tree | 5fb2cfc8182dd4b224929a7ab0d6a3ac2e59d52e /sms-forward | |
parent | 556fc2d0d3a7a994efed1f2be61692442840d142 (diff) |
sms-forward: use $LogAndError
Diffstat (limited to 'sms-forward')
-rw-r--r-- | sms-forward | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sms-forward b/sms-forward index 35adba1..8907d19 100644 --- a/sms-forward +++ b/sms-forward @@ -8,11 +8,11 @@ :global SendNotification; :global MailServerIsUp; +:global LogAndError; # check mail server :if ($MailServerIsUp = false) do={ - :log warning "Mail server is not up."; - :error "Warning: See log for details."; + $LogAndError "Mail server is not up."; } :local Settings [ / tool sms get ]; |