diff options
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r-- | perl-install/services.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index 29593c9b2..1aab437a1 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -367,7 +367,7 @@ sub _systemd_services() { # Running system using systemd log::explanations("Detected systemd running. Using systemctl introspection."); # even if systemd is not running, we can detect status of shorewell service which is not wanted by: - my @opts = $::isInstall ? 'list-unit-files' : qw(--all list-units); + my @opts = $::isInstall ? 'list-unit-files' : qw(--all --plain list-units); foreach (run_program::rooted_get_stdout($::prefix, '/bin/systemctl', '--no-legend', '--no-pager', '--full', @opts)) { my ($name) = m!^(\S+)\.service\s+loaded!; ($name) = m!^(\S+)\.service\s+enabled! if $::isInstall && !$name; |