Commit f80a56a6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix systemd detection

parent 0672d9ff
...@@ -524,5 +524,5 @@ is_active_systemd() ...@@ -524,5 +524,5 @@ is_active_systemd()
[ -d "$SYSTEMD_CGROUP_DIR" ] || return [ -d "$SYSTEMD_CGROUP_DIR" ] || return
a= mountpoint -q "$SYSTEMD_CGROUP_DIR" || return a= mountpoint -q "$SYSTEMD_CGROUP_DIR" || return
# some hack # some hack
ps ax | grep -q '[s]ystemd' | grep -v 'systemd-udev' >/dev/null ps ax | grep '[s]ystemd' | grep -v 'systemd-udev' >/dev/null
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment