Fis error in determin if systemd support is present in case of debian 13 and newer.
This commit is contained in:
@@ -151,7 +151,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 "Support of systemd is requirred for this script"
|
||||
|
||||
Reference in New Issue
Block a user