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:
authorTopi Miettinen <toiwoton@gmail.com>2020-03-19 16:25:59 +0300
committerTopi Miettinen <toiwoton@gmail.com>2020-03-19 16:25:59 +0300
commit80a67914c3945a36204e998576fbdf81227f502f (patch)
tree414f3f0e59a57fd897cbf463c13d050afa260fe6 /include/tests_boot_services
parente5c1f2f303b1dbf56486369d09f24707ced25acb (diff)
Fix logging of running and enabled services
Log lines for running and enabled services were mixed up, fix. Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r--include/tests_boot_services4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services
index 2c239b64..f96afbfb 100644
--- a/include/tests_boot_services
+++ b/include/tests_boot_services
@@ -579,7 +579,7 @@
LogText "Hint: Run systemctl --full --type=service to see all services"
Display --indent 2 --text "- Check running services (systemctl)" --result "${STATUS_DONE}" --color GREEN
Display --indent 8 --text "Result: found ${COUNT} running services"
- LogText "Result: Found ${COUNT} enabled services"
+ LogText "Result: Found ${COUNT} running services"
# Services at boot
LogText "Searching for enabled services (systemctl services only)"
@@ -594,7 +594,7 @@
LogText "Hint: Run systemctl list-unit-files --type=service to see all services"
Display --indent 2 --text "- Check enabled services at boot (systemctl)" --result "${STATUS_DONE}" --color GREEN
Display --indent 8 --text "Result: found ${COUNT} enabled services"
- LogText "Result: Found ${COUNT} running services"
+ LogText "Result: Found ${COUNT} enabled services"
else