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:
authorSimon Biewald <simon@fam-biewald.de>2020-11-14 23:27:39 +0300
committerSimon Biewald <simon@fam-biewald.de>2020-11-14 23:34:43 +0300
commit0c686bb6ea4972423ad78c93f80449e1e862f6c1 (patch)
tree3d69179d5e3e69acf3c2dd6edec5d8ddec6add5e /include/tests_insecure_services
parent7ec3b5b0d5fb8f4c91d97ae683a1d96f214b50b1 (diff)
Use the new status strings in tests
See-Also: HEAD^ Signed-off-by: Simon Biewald <simon@fam-biewald.de>
Diffstat (limited to 'include/tests_insecure_services')
-rw-r--r--include/tests_insecure_services8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tests_insecure_services b/include/tests_insecure_services
index 230d117e..2ba308b3 100644
--- a/include/tests_insecure_services
+++ b/include/tests_insecure_services
@@ -63,11 +63,11 @@
LogText "Test: Searching for active inet daemon"
if IsRunning "inetd"; then
LogText "Result: inetd is running"
- Display --indent 4 --text "- inetd status" --result "ACTIVE" --color GREEN
+ Display --indent 4 --text "- inetd status" --result "${STATUS_ACTIVE}" --color GREEN
INETD_ACTIVE=1
else
LogText "Result: inetd is NOT running"
- Display --indent 4 --text "- inetd status" --result "NOT ACTIVE" --color GREEN
+ Display --indent 4 --text "- inetd status" --result "${STATUS_NOT_ACTIVE}" --color GREEN
fi
fi
#
@@ -158,11 +158,11 @@
LogText "Test: Searching for active extended internet services daemon (xinetd)"
if IsRunning "xinetd"; then
LogText "Result: xinetd is running"
- Display --indent 4 --text "- xinetd status" --result "ACTIVE" --color GREEN
+ Display --indent 4 --text "- xinetd status" --result "${STATUS_ACTIVE}" --color GREEN
XINETD_ACTIVE=1
else
LogText "Result: xinetd is NOT running"
- Display --indent 4 --text "- xinetd status" --result "NOT ACTIVE" --color GREEN
+ Display --indent 4 --text "- xinetd status" --result "${STATUS_NOT_ACTIVE}" --color GREEN
fi
fi
#