aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.template
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 /collect-wireless-mac.template
parent27b2fffaaf2529759795b031acea9c8e6980a4ac (diff)
always write warnings and errors to log
Diffstat (limited to 'collect-wireless-mac.template')
-rw-r--r--collect-wireless-mac.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template
index 2449316..9e06a88 100644
--- a/collect-wireless-mac.template
+++ b/collect-wireless-mac.template
@@ -17,7 +17,8 @@ $ScriptLock "collect-wireless-mac%TEMPL%";
:local PlaceBefore [ / %PATH% access-list find where comment="--- collected above ---" disabled ];
:if ([ :len $PlaceBefore ] = 0) do={
- :error "Missing disabled access-list entry with comment '--- collected above ---'";
+ :log error "Missing disabled access-list entry with comment '--- collected above ---'";
+ :error "Error: See log for details.";
}
:foreach RegTbl in=[ / %PATH% registration-table find ] do={