summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Bcfg2/Client/Tools/Chkconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/Chkconfig.py b/src/lib/Bcfg2/Client/Tools/Chkconfig.py
index 29ec5dec9..b62fb9ef8 100644
--- a/src/lib/Bcfg2/Client/Tools/Chkconfig.py
+++ b/src/lib/Bcfg2/Client/Tools/Chkconfig.py
@@ -79,7 +79,7 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool):
rv &= self.cmd.run(rcmd % (entry.get('name'),
entry.get('status')))[0] == 0
if entry.get("current_status") == "off":
- rv &= self.start_service(entry)
+ rv &= (self.start_service(entry) == 0)
return rv
def FindExtra(self):