From b35c0b8a6f6373201cc9e252a8647935ad54ee19 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 3 Apr 2019 21:30:43 +0200 Subject: always write warnings and errors to log --- collect-wireless-mac.capsman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'collect-wireless-mac.capsman') diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index 4e5a7b0..dd27ba6 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -16,7 +16,8 @@ $ScriptLock "collect-wireless-mac.capsman"; :local PlaceBefore [ / caps-man 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=[ / caps-man registration-table find ] do={ -- cgit v1.2.3-70-g09d2