[system-tools-backends-clone] Bug 590241 - Fix stopping services under Gentoo



commit 6d4e0fc72d28a64f3e1bad367492248ab8021d84
Author: Jeremy Guitton <debotux free fr>
Date:   Wed Aug 19 01:04:47 2009 +0200

    Bug 590241 - Fix stopping services under Gentoo
    
    Patch used downstream for a long time.

 Init/Services.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Init/Services.pm b/Init/Services.pm
index a76f5dc..f847dbc 100644
--- a/Init/Services.pm
+++ b/Init/Services.pm
@@ -802,7 +802,7 @@ sub set_gentoo_service_status
 
   return if ($status == $old_status);
 
-  if ($action == $SERVICE_START)
+  if ($status == $SERVICE_START)
   {
     &Utils::File::run ("rc-update add $script $rl");
     &run_gentoo_script ($script, "start");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]