aboutsummaryrefslogtreecommitdiffstats
path: root/reread-services
diff options
context:
space:
mode:
Diffstat (limited to 'reread-services')
-rwxr-xr-xreread-services2
1 files changed, 1 insertions, 1 deletions
diff --git a/reread-services b/reread-services
index 73092d6..635c9ff 100755
--- a/reread-services
+++ b/reread-services
@@ -16,7 +16,7 @@ if [ $# -lt 1 ]; then
fi
# What init system are we currently using?
-if /bin/mountpoint -q /sys/fs/cgroup/systemd; then
+if [ -d /run/systemd/system/ ]; then
init=systemd
else
init=sysvinit