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.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index 35c0b88a6..77f9b2080 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -388,11 +388,11 @@ sub do_not_start_service_on_boot ($) {
sub set_status {
my ($service, $enable, $o_dont_apply) = @_;
if ($enable) {
- services::start_service_on_boot($service);
- services::restart_or_start($service) unless $o_dont_apply;
+ start_service_on_boot($service);
+ restart_or_start($service) unless $o_dont_apply;
} else {
- services::do_not_start_service_on_boot($service);
- services::stop($service) unless $o_dont_apply;
+ do_not_start_service_on_boot($service);
+ stop($service) unless $o_dont_apply;
}
}