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-26 17:14:26 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-26 17:14:26 +0300
commitfa064a824b6ba5519296dfd87e4604c2f15be897 (patch)
tree4a8123f75b03c5d874a20c793bd7349ce0d62615 /include/tests_file_integrity
parent7d6118f4a6300be3ff6f0f0dde5ee914357e702a (diff)
[FINT-4334] improved process detection for lfd
Diffstat (limited to 'include/tests_file_integrity')
-rw-r--r--include/tests_file_integrity3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_file_integrity b/include/tests_file_integrity
index 6a527e75..55d95b37 100644
--- a/include/tests_file_integrity
+++ b/include/tests_file_integrity
@@ -201,7 +201,8 @@
Register --test-no FINT-4334 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check lfd daemon status"
if [ ${SKIPTEST} -eq 0 ]; then
Display --indent 4 --text "- lfd (CSF)" --result "${STATUS_FOUND}" --color GREEN
- if IsRunning 'lfd '; then
+ LogText "Test: determine lfd status"
+ if IsRunning "lfd - sleeping"; then
LogText "Result: lfd daemon is running (CSF)"
Report "file_integrity_tool[]=csf-lfd"
Display --indent 6 --text "- LFD (CSF) daemon" --result "${STATUS_RUNNING}" --color GREEN