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-15 20:34:37 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-15 20:34:37 +0300
commit2e7c6c781677d7dd017b64a9c44e51347429bb9c (patch)
treeaf6271cd6baf3e5d21a7a73a102fbd9dc79ece1d /include/tests_file_integrity
parent0d21ba5e52f45e6929e239c2d33e5c7c3ea85bf5 (diff)
[FINT-4328] correct text in log
Diffstat (limited to 'include/tests_file_integrity')
-rw-r--r--include/tests_file_integrity7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/tests_file_integrity b/include/tests_file_integrity
index b6ae7950..da578971 100644
--- a/include/tests_file_integrity
+++ b/include/tests_file_integrity
@@ -161,15 +161,14 @@
Register --test-no FINT-4328 --weight L --network NO --category security --description "OSSEC syscheck daemon running"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: Checking if OSSEC syscheck daemon is running"
- IsRunning ossec-syscheckd
- if [ ${RUNNING} -eq 1 ]; then
- LogText "Result: syscheck (OSSEC) installed"
+ if IsRunning "ossec-syscheckd"; then
+ LogText "Result: syscheck (OSSEC) active"
Report "file_integrity_tool[]=ossec"
FILE_INT_TOOL="ossec-syscheck"
FILE_INT_TOOL_FOUND=1
Display --indent 4 --text "- OSSEC (syscheck)" --result "${STATUS_FOUND}" --color GREEN
else
- LogText "Result: syscheck (OSSEC) not installed"
+ LogText "Result: syscheck (OSSEC) is not active"
if IsVerbose; then Display --indent 4 --text "- OSSEC" --result "${STATUS_NOT_FOUND}" --color WHITE; fi
fi
fi