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>
This commit is contained in:
Topi Miettinen 2020-03-19 15:25:59 +02:00
parent e5c1f2f303
commit 80a67914c3
No known key found for this signature in database
GPG Key ID: 87E1A51C590B0577
1 changed files with 2 additions and 2 deletions

View File

@ -579,7 +579,7 @@
LogText "Hint: Run systemctl --full --type=service to see all services" 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 2 --text "- Check running services (systemctl)" --result "${STATUS_DONE}" --color GREEN
Display --indent 8 --text "Result: found ${COUNT} running services" Display --indent 8 --text "Result: found ${COUNT} running services"
LogText "Result: Found ${COUNT} enabled services" LogText "Result: Found ${COUNT} running services"
# Services at boot # Services at boot
LogText "Searching for enabled services (systemctl services only)" 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" 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 2 --text "- Check enabled services at boot (systemctl)" --result "${STATUS_DONE}" --color GREEN
Display --indent 8 --text "Result: found ${COUNT} enabled services" Display --indent 8 --text "Result: found ${COUNT} enabled services"
LogText "Result: Found ${COUNT} running services" LogText "Result: Found ${COUNT} enabled services"
else else