diff options
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r-- | perl-install/services.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index 4f46bbbe4..86b3a35c9 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -344,9 +344,7 @@ sub start_service_on_boot ($) { sub do_not_start_service_on_boot ($) { my ($service) = @_; - run_program::rooted($::prefix, "/sbin/chkconfig", "--del", $service) - or return 0; - return 1; + run_program::rooted($::prefix, "/sbin/chkconfig", "--del", $service) ? 0 : 1; } 1; |