Fis error in determin if systemd support is present in case of debian 13 and newer.

This commit is contained in:
2025-12-15 18:35:43 +01:00
parent b7efde6828
commit 07b45ba272
2 changed files with 2 additions and 2 deletions

View File

@@ -341,7 +341,7 @@ systemd_supported=false
systemd=$(which systemd) systemd=$(which systemd)
systemctl=$(which systemctl) systemctl=$(which systemctl)
if [[ -n "$systemd" ]] && [[ -n "$systemctl" ]] ; then if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
systemd_supported=true systemd_supported=true
fi fi

View File

@@ -271,7 +271,7 @@ systemd_supported=false
systemd=$(which systemd) systemd=$(which systemd)
systemctl=$(which systemctl) systemctl=$(which systemctl)
if [[ -n "$systemd" ]] && [[ -n "$systemctl" ]] ; then if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
systemd_supported=true systemd_supported=true
fi fi