summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 73949c6f0..ea41eb878 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -239,7 +239,7 @@ sub ask_standalone_gtk {
};
my $update_service = sub {
my ($service, $label) = @_;
- my $started = -e "/var/lock/subsys/$service";
+ my $started = is_service_running($service);
$label->set_label($started ? N("running") : N("stopped"));
};
my $b = Gtk2::EventBox->new;