aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-02-26 11:49:11 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-02-26 11:49:11 +0100
commitbb9a4e6ecf25c63fae23d67281925215b67019eb (patch)
tree5fb2cfc8182dd4b224929a7ab0d6a3ac2e59d52e
parent556fc2d0d3a7a994efed1f2be61692442840d142 (diff)
sms-forward: use $LogAndError
-rw-r--r--sms-forward4
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 ];