Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 8799d2e5f5280ed416fc0d949767ae0c > files > 2

chkconfig-1.3.60-1.mga3.src.rpm

Subject: [PATCH] 
From: Andrey Borzenkov <arvidjaar@gmail.com>



Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>

---

 chkconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/chkconfig.c b/chkconfig.c
index d1b8ea3..8f54262 100644
--- a/chkconfig.c
+++ b/chkconfig.c
@@ -392,7 +392,7 @@ static int showServiceInfo(struct service s, int forgiving) {
 	    }
     }
 
-    if (rc) {
+    if (rc && rc != 2) {
 	if (!forgiving)
 	    readServiceError(rc, s.name);
 	return forgiving ? 0 : 1;