diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-12-02 01:28:29 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-12-02 01:28:29 +0000 |
commit | ab6ac030488c8c1cc8cd9c537f5e468b3d0e2678 (patch) | |
tree | 771573e8239b41ab92623b22e35a9b9763bd717d /src/lib/Client/Tools/Chkconfig.py | |
parent | d0cd2ba44a52ef3c458fa80544692d930f9d5341 (diff) | |
download | bcfg2-ab6ac030488c8c1cc8cd9c537f5e468b3d0e2678.tar.gz bcfg2-ab6ac030488c8c1cc8cd9c537f5e468b3d0e2678.tar.bz2 bcfg2-ab6ac030488c8c1cc8cd9c537f5e468b3d0e2678.zip |
Fix Chkconfig traceback (Resolves Ticket #507) [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4019 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/Chkconfig.py')
-rw-r--r-- | src/lib/Client/Tools/Chkconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/Chkconfig.py b/src/lib/Client/Tools/Chkconfig.py index 8a6abd391..b068b89af 100644 --- a/src/lib/Client/Tools/Chkconfig.py +++ b/src/lib/Client/Tools/Chkconfig.py @@ -58,7 +58,7 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool): if entry.get('status') == 'off': rc = self.cmd.run(rcmd % (entry.get('name'), entry.get('status')) + " --level 1")[0] pass1 = rc == 0 - rc = self.cmd.run(rcmd % (entry.get('name'), entry.get('status'))[0] + rc = self.cmd.run(rcmd % (entry.get('name'), entry.get('status')))[0] return pass1 and rc == 0 def FindExtra(self): |