summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r--perl-install/services.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index f76b29b86..29593c9b2 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -342,7 +342,7 @@ sub doit {
}
sub running_systemd() {
- run_program::rooted($::prefix, '/bin/mountpoint', '-q', '/sys/fs/cgroup/systemd');
+ -d '/run/systemd/system';
}
sub has_systemd() {