Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-08-13 12:15:48 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-13 12:15:48 +0300
commited9c6190a762c27195d92b93c4f5789671fb3444 (patch)
tree1c221fc8c43b55251e999f2e0a4fe76639b1c3ed /include/profiles
parente0f50e9e2517d2f20475db484b62ef0730b37ebd (diff)
Corrected setting display for show-tool-tips
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/profiles b/include/profiles
index 3a275112..632815b1 100644
--- a/include/profiles
+++ b/include/profiles
@@ -236,7 +236,7 @@
show_tool_tips | show-tool-tips)
SETTING_SHOW_TOOL_TIPS=1 # default is yes
FIND=$(echo "${VALUE}" | egrep "^(0|false|no)$") && SHOW_TOOL_TIPS=0
- if [ ! -z "${FIND}" ]; then SETTING_QUICK_MODE=0; fi
+ if [ ! -z "${FIND}" ]; then SETTING_SHOW_TOOL_TIPS=0; fi
Debug "Show tool tips set to ${SETTING_SHOW_TOOL_TIPS}"
AddSetting "show-tool-tips" "${SETTING_SHOW_TOOL_TIPS}" "Show tool tips"
;;
@@ -277,7 +277,6 @@
skip_upgrade_test | skip-upgrade-test)
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SKIP_UPGRADE_TEST=1
Debug "Skip upgrade test set to ${SKIP_UPGRADE_TEST}"
- AddSetting "skip-upgrade-test" "${SKIP_UPGRADE_TEST}" "Skip upgrade test"
;;
# Set strict mode for development and quality purposes
@@ -446,6 +445,8 @@
# Register the discovered settings
AddSetting "log-tests-incorrect-os" "${SETTING_LOG_TESTS_INCORRECT_OS}" "Logging of tests that have a different OS"
AddSetting "show-report-solution" "${SETTING_SHOW_REPORT_SOLUTION}" "Show more details in report (solution)"
+ AddSetting "skip-upgrade-test" "${SKIP_UPGRADE_TEST}" "Skip upgrade test"
+
AddSetting "strict" "${SET_STRICT}" "Perform strict code test of scripts"
unset SETTING_LOG_TESTS_INCORRECT_OS SETTING_SHOW_REPORT_SOLUTION