diff options
author | Christian Hesse <mail@eworm.de> | 2019-04-03 21:30:43 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-04-03 21:30:43 +0200 |
commit | b35c0b8a6f6373201cc9e252a8647935ad54ee19 (patch) | |
tree | 3a0f435d99f4f6772871ae00077a5554e8170839 /collect-wireless-mac.local | |
parent | 27b2fffaaf2529759795b031acea9c8e6980a4ac (diff) |
always write warnings and errors to log
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r-- | collect-wireless-mac.local | 3 |
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={ |