From 6a1460e5977c048d83addc017f76761fa15c0932 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 8 Aug 2026 09:52:19 +0200 Subject: [PATCH] check_systemd_service.sh: fix error determin, wether systemd is supported. --- check_systemd_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_systemd_service.sh b/check_systemd_service.sh index 0528c28..8fb54c6 100755 --- a/check_systemd_service.sh +++ b/check_systemd_service.sh @@ -240,7 +240,7 @@ systemd=$(which systemd) systemctl=$(which systemctl) systemd_supported=false -if [[ -n "$systemd" ]] && [[ -n "$systemctl" ]] ; then +if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then systemd_supported=true else fatal "Systemd is not present!"