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>2019-07-10 21:12:17 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-10 21:12:17 +0300
commitf40b4287eb5bf5e01e8741353a37e5ab1b69e0b3 (patch)
treef3681f4dc8e70da7e5ee1179cfc7fd449511a390 /include/tests_memory_processes
parentafba58e7433140e76736bc9dc539e8b7cb7e6756 (diff)
Show 'Not found' instead of 'OK'
Diffstat (limited to 'include/tests_memory_processes')
-rw-r--r--include/tests_memory_processes4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_memory_processes b/include/tests_memory_processes
index cde405c3..fc1789dc 100644
--- a/include/tests_memory_processes
+++ b/include/tests_memory_processes
@@ -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."