[FINT-4334] improved process detection for lfd

This commit is contained in:
Michael Boelen 2019-07-26 16:14:26 +02:00
parent 7d6118f4a6
commit fa064a824b
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 2 additions and 1 deletions

View File

@ -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