mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Fix Scoring for "<"
This commit is contained in:
parent
99fd20aae0
commit
81bac124ee
1 changed files with 2 additions and 2 deletions
|
|
@ -148,9 +148,9 @@
|
|||
fi
|
||||
|
||||
elif [ "${TESTTYPE}" = "<" ]; then
|
||||
if [ "${FOUNDVALUE}" -ge "${WEAKVALUE}" ]; then
|
||||
if [ "${FOUNDVALUE}" -ge "${WEAKVALUE}" -o "${FOUNDVALUE}" -gt "${MEDIUMSCOREDVALUE}"]; then
|
||||
RESULT="WEAK"
|
||||
elif [ "${FOUNDVALUE}" -ge "${WEAKVALUE}" -a "${FOUNDVALUE}" -le "${MEDIUMSCOREDVALUE}" ]; then
|
||||
elif [ "${FOUNDVALUE}" -le "${MEDIUMSCOREDVALUE}" ]; then
|
||||
RESULT="MIDSCORED"
|
||||
elif [ "${FOUNDVALUE}" -le "${EXPECTEDVALUE}" ]; then
|
||||
RESULT="GOOD"
|
||||
|
|
|
|||
Loading…
Reference in a new issue