check_systemd_service.sh: fix error determin, wether systemd is supported.

This commit is contained in:
2026-08-08 09:52:19 +02:00
parent 8c771b6ec4
commit 6a1460e597
+1 -1
View File
@@ -240,7 +240,7 @@ systemd=$(which systemd)
systemctl=$(which systemctl) systemctl=$(which systemctl)
systemd_supported=false systemd_supported=false
if [[ -n "$systemd" ]] && [[ -n "$systemctl" ]] ; then if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
systemd_supported=true systemd_supported=true
else else
fatal "Systemd is not present!" fatal "Systemd is not present!"