summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/Chkconfig.py
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2011-04-25 17:43:51 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2011-04-25 17:43:51 -0500
commitaae7818428e13dcaf54457be1acfdd29e73ea943 (patch)
treeaea687020e34b3d99a650b4f9d8a007e7c65858f /src/lib/Client/Tools/Chkconfig.py
parent4a693086d5f980de8407a7eaeb585aa989916f43 (diff)
downloadbcfg2-aae7818428e13dcaf54457be1acfdd29e73ea943.tar.gz
bcfg2-aae7818428e13dcaf54457be1acfdd29e73ea943.tar.bz2
bcfg2-aae7818428e13dcaf54457be1acfdd29e73ea943.zip
SvcTools: Change return from mode="manual" to false so the entries report a Bad state
Diffstat (limited to 'src/lib/Client/Tools/Chkconfig.py')
-rw-r--r--src/lib/Client/Tools/Chkconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/Chkconfig.py b/src/lib/Client/Tools/Chkconfig.py
index d1639732a..0c78b0fb5 100644
--- a/src/lib/Client/Tools/Chkconfig.py
+++ b/src/lib/Client/Tools/Chkconfig.py
@@ -80,7 +80,7 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool):
if entry.get('mode', 'default') == 'manual':
self.logger.info("Service %s mode set to manual. Skipping "
"installation." % (entry.get('name')))
- return True
+ return False
rcmd = "/sbin/chkconfig %s %s"
self.cmd.run("/sbin/chkconfig --add %s"%(entry.attrib['name']))
self.logger.info("Installing Service %s" % (entry.get('name')))