summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJohn Morris <john@zultron.com>2012-09-10 17:46:06 -0500
committerJohn Morris <john@zultron.com>2012-09-11 16:11:48 -0500
commit9f177baaff0d5ea21a8655847ebd35bdd5a7db96 (patch)
treed7a2b371b7f24bf723b0357049e13d5b8f4e489d /src/lib
parent2b9d8b5e93b91063db6d4b6cde613c2d172362e3 (diff)
downloadbcfg2-9f177baaff0d5ea21a8655847ebd35bdd5a7db96.tar.gz
bcfg2-9f177baaff0d5ea21a8655847ebd35bdd5a7db96.tar.bz2
bcfg2-9f177baaff0d5ea21a8655847ebd35bdd5a7db96.zip
Bcfg2/Client/Tools/Chkconfig.py: squash bug tickled by services turned 'off'
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 ad9e58350..29ec5dec9 100644
--- a/src/lib/Bcfg2/Client/Tools/Chkconfig.py
+++ b/src/lib/Bcfg2/Client/Tools/Chkconfig.py
@@ -70,7 +70,7 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool):
self.logger.info("Installing Service %s" % (entry.get('name')))
rv = True
if entry.get('status') == 'off':
- rv &= self.cmd.run(rcmd + " --level 0123456" %
+ rv &= self.cmd.run((rcmd + " --level 0123456") %
(entry.get('name'),
entry.get('status')))[0] == 0
if entry.get("current_status") == "on":