diff options
author | Olav Vitters <olav@vitters.nl> | 2020-07-25 13:54:57 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2020-07-25 13:54:57 +0200 |
commit | 81b6ab4461c8f0a0b69246c7f5c4a3d1f99f6d21 (patch) | |
tree | 0595297fe92eb722128d65702d3f721e4ad5bc3a /reread-services | |
parent | d03bba16c0fbb41ffacd19285dc3765007e25085 (diff) | |
download | rpm-helper-81b6ab4461c8f0a0b69246c7f5c4a3d1f99f6d21.tar rpm-helper-81b6ab4461c8f0a0b69246c7f5c4a3d1f99f6d21.tar.gz rpm-helper-81b6ab4461c8f0a0b69246c7f5c4a3d1f99f6d21.tar.bz2 rpm-helper-81b6ab4461c8f0a0b69246c7f5c4a3d1f99f6d21.tar.xz rpm-helper-81b6ab4461c8f0a0b69246c7f5c4a3d1f99f6d21.zip |
correctly check if systemd has booted
Diffstat (limited to 'reread-services')
-rwxr-xr-x | reread-services | 2 |
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 |