Fis error in determin if systemd support is present in case of debian 13 and newer.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user