Added fix in linux_get_init()

This commit is contained in:
Patrick Van der Veken 2018-03-21 14:21:50 +01:00
parent 9ed7f32872
commit bbbafb0205

View File

@ -91,7 +91,7 @@ check_platform 'Linux' || {
# default is sysv
LINUX_INIT="sysv"
if [[ -r /usr/lib/systemd ]]
if [[ -r /usr/lib/systemd && -x /usr/bin/systemctl ]]
then
LINUX_INIT="systemd"
elif [[ -r /usr/share/upstart ]]