diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-08-10 08:12:22 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-08-10 08:12:22 +0300 |
commit | 387df54859062e71cf0f8d2101af65cbdacc8317 (patch) | |
tree | 2953bf4fe7b166175f6cc0f78b228ab28f9f64dd /include/tests_authentication | |
parent | 1c1950e5fe23e18736280827c672e321144cc6e9 (diff) |
Removed unneeded field for warnings and suggestions
Diffstat (limited to 'include/tests_authentication')
-rw-r--r-- | include/tests_authentication | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index 015e37db..1b873f30 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -109,7 +109,7 @@ Display --indent 4 --text "- Checking consistency of /etc/group file" --result "${STATUS_WARNING}" --color RED LogText "Result: chkgrp found some errors. Run the tool manually to see details." LogText "chkgrp output: ${FIND}" - ReportWarning ${TEST_NO} "M" "chkgrp reported inconsistencies in /etc/group file" + ReportWarning ${TEST_NO} "chkgrp reported inconsistencies in /etc/group file" fi fi # @@ -128,12 +128,12 @@ "Linux") if [ "${LINUX_VERSION}" = "SuSE" ]; then FIND=$(${GRPCKBINARY} -q -r > /dev/null ; echo $?) - else + else FIND=$(${GRPCKBINARY} -r 2> /dev/null ; echo $?) fi ;; *) FIND=$(${GRPCKBINARY} 2> /dev/null ; echo $?) ;; - esac + esac # Check exit-code if [ "${FIND}" = "0" ]; then @@ -141,8 +141,7 @@ LogText "Result: grpck binary didn't find any errors in the group files" else Display --indent 2 --text "- Consistency of group files (grpck)" --result "${STATUS_WARNING}" --color RED - ReportWarning ${TEST_NO} "M" "grpck binary found errors in one or more group files" - ReportSuggestion ${TEST_NO} "Run grpck manually and check your group files" + ReportWarning ${TEST_NO} "grpck binary found errors in one or more group files" fi unset FIND fi |