mirror of https://github.com/CISOfy/lynis.git
Show 'Not found' instead of 'OK'
This commit is contained in:
parent
afba58e743
commit
f40b4287eb
|
@ -80,7 +80,7 @@
|
|||
fi
|
||||
if [ -z "${FIND}" ]; then
|
||||
LogText "Result: no zombie processes found"
|
||||
Display --indent 2 --text "- Searching for dead/zombie processes" --result "${STATUS_OK}" --color GREEN
|
||||
Display --indent 2 --text "- Searching for dead/zombie processes" --result "${STATUS_NOT_FOUND}" --color GREEN
|
||||
else
|
||||
LogText "Result: found one or more dead or zombie processes"
|
||||
LogText "Output: PIDs ${FIND}"
|
||||
|
@ -104,7 +104,7 @@
|
|||
fi
|
||||
if [ -z "${FIND}" ]; then
|
||||
LogText "Result: No processes were waiting for IO requests to be handled first"
|
||||
Display --indent 2 --text "- Searching for IO waiting processes" --result "${STATUS_OK}" --color GREEN
|
||||
Display --indent 2 --text "- Searching for IO waiting processes" --result "${STATUS_NOT_FOUND}" --color GREEN
|
||||
else
|
||||
LogText "Result: found one or more processes which were waiting to get IO requests handled first"
|
||||
LogText "More info: processes which show up with the status flag 'D' are often stuck, until a disk IO event finished. This can happen for example with network storage, where the connection or protocol settings are not logtext well configured."
|
||||
|
|
Loading…
Reference in New Issue