aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ];