aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.local
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.local
parent27b2fffaaf2529759795b031acea9c8e6980a4ac (diff)
always write warnings and errors to log
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r--collect-wireless-mac.local3
1 files changed, 2 insertions, 1 deletions
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index 4a4d6e1..a28e2ee 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -16,7 +16,8 @@ $ScriptLock "collect-wireless-mac.local";
:local PlaceBefore [ / interface wireless 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=[ / interface wireless registration-table find ] do={