mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Removed unneeded field for warnings and suggestions
This commit is contained in:
parent
1c1950e5fe
commit
387df54859
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user