aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-04-03 21:30:43 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-04-03 21:30:43 +0200
commitb35c0b8a6f6373201cc9e252a8647935ad54ee19 (patch)
tree3a0f435d99f4f6772871ae00077a5554e8170839 /sms-forward
parent27b2fffaaf2529759795b031acea9c8e6980a4ac (diff)
always write warnings and errors to log
Diffstat (limited to 'sms-forward')
-rw-r--r--sms-forward3
1 files changed, 2 insertions, 1 deletions
diff --git a/sms-forward b/sms-forward
index f22949f..9850d87 100644
--- a/sms-forward
+++ b/sms-forward
@@ -10,7 +10,8 @@
# check mail server
:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up") do={
- :error "Mail server is not up.";
+ :log warning "Mail server is not up.";
+ :error "Warning: See log for details.";
}
:local Allowed [ / tool sms get allowed-number ];