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:31:04 +01:00
parent 704b4709d4
commit 37c2b3737e

View File

@@ -133,9 +133,11 @@ fi
# - Is 'systemd' supported on this system # - Is 'systemd' supported on this system
# - # -
if [ "X`which systemd`" = "X" ]; then systemd_exists=false
systemd_exists=false systemd=$(which systemd)
else systemctl=$(which systemctl)
if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
systemd_exists=true systemd_exists=true
fi fi