diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | common/Wizcommon.pm | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ - fix apache package name (mga#2640) +- fix checking services status (mga#6009) Version 3.7.5 - 27 May 2011, by Ennael diff --git a/common/Wizcommon.pm b/common/Wizcommon.pm index 7e58107a..5c14c545 100644 --- a/common/Wizcommon.pm +++ b/common/Wizcommon.pm @@ -23,6 +23,7 @@ package MDK::Wizard::Wizcommon; use strict; use standalone; use common; +use services; use MDK::Common; use MDK::Wizard::IFCFG; @@ -45,7 +46,7 @@ sub new { sub check_started { my ($service) = @_; - my ($isrunning) = chomp_(`pidof $service`) =~ /(\d+)/m; + my ($isrunning) = services::is_service_running($service); if (!$isrunning) { return 'error_end'; } |