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:13:44 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-13 12:13:44 +0300
commite0f50e9e2517d2f20475db484b62ef0730b37ebd (patch)
tree135794392db948dcaef73caa22906f46132534d5 /include/profiles
parent075a69e125a58381be9ff24bf6126245a8d5aac6 (diff)
Always register strict code checking in settings
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/profiles b/include/profiles
index cc41fd30..3a275112 100644
--- a/include/profiles
+++ b/include/profiles
@@ -283,7 +283,6 @@
# Set strict mode for development and quality purposes
strict)
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1
- AddSetting "strict" "${SET_STRICT}" "Perform strict test of scripts"
;;
# Define what kind of scan we are performing
@@ -447,6 +446,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 "strict" "${SET_STRICT}" "Perform strict code test of scripts"
+
unset SETTING_LOG_TESTS_INCORRECT_OS SETTING_SHOW_REPORT_SOLUTION
#
#################################################################################