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:22:48 +01:00
parent 3139e69114
commit 15d1156187
32 changed files with 35 additions and 34 deletions

View File

@@ -89,9 +89,10 @@ fi
# - Is this a systemd system?
# -
if [[ "X`which systemd`" = "X" ]]; then
systemd_exists=false
else
systemd=$(which systemd)
systemctl=$(which systemctl)
if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
systemd_exists=true
fi