From 1ef1c5b4729d4700e678a16e1d24214227d5f59a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 4 Aug 2017 21:14:55 +0000 Subject: [PATCH] settings: Don't log skipped configuration lines Signed-off-by: Michael Tremer --- src/functions/functions.settings | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/functions/functions.settings b/src/functions/functions.settings index f714e229..fad0cd7d 100644 --- a/src/functions/functions.settings +++ b/src/functions/functions.settings @@ -55,13 +55,7 @@ settings_read() { # If valid keys is set, key must be in the list. if [ -n "${valid_keys}" ]; then - if ! list_match ${key} ${valid_keys}; then - if ! enabled ignore_superfluous_settings; then - log DEBUG "Ignoring configuration setting: ${key}" - fi - - continue - fi + list_match ${key} ${valid_keys} || continue fi val=$(cli_get_val ${line}) -- 2.47.3