From 870ac295c6155344431b0e8056ab417ca2835755 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sat, 24 Sep 2016 15:51:05 +0200 Subject: Show possible solution with findings --- include/profiles | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/profiles') diff --git a/include/profiles b/include/profiles index f95db59e..7988995e 100644 --- a/include/profiles +++ b/include/profiles @@ -233,8 +233,9 @@ # Show more details in report show-report-solution) - FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && SHOW_REPORT_SOLUTION=1 - if [ ! -z "${FIND}" ]; then SETTING_SHOW_REPORT_SOLUTION=1; fi + SETTING_SHOW_REPORT_SOLUTION=${SHOW_REPORT_SOLUTION} + FIND=$(echo "${VALUE}" | egrep "^(0|false|no)$") && SHOW_REPORT_SOLUTION=0 + if [ ! -z "${FIND}" ]; then SETTING_SHOW_REPORT_SOLUTION=0; fi Debug "Show report details (solution) set to ${SETTING_SHOW_REPORT_SOLUTION}" ;; -- cgit v1.2.3