diff --git a/sources/lib/core/include_os.sh b/sources/lib/core/include_os.sh index 248778c..ef2d9e8 100644 --- a/sources/lib/core/include_os.sh +++ b/sources/lib/core/include_os.sh @@ -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 ]]