Commit 1b63326c authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix systemd detection

parent 53bedc7b
...@@ -516,5 +516,5 @@ is_active_systemd() ...@@ -516,5 +516,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 systemd >/dev/null ps ax | grep -q '[s]ystemd' >/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