diff options
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/Chkconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/Chkconfig.py b/src/lib/Client/Tools/Chkconfig.py index b7227ec3d..bf2a2c1e1 100644 --- a/src/lib/Client/Tools/Chkconfig.py +++ b/src/lib/Client/Tools/Chkconfig.py @@ -60,8 +60,8 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool): if not(self.setup.get('dryrun')) and needs_modification: self.cmd.run('/sbin/service %s %s' % (entry.get('name'), command)) - pstatus = self.cmd.run('/sbin/service %s status' % \ - entry.get('name'))[0] + # service was modified, so it failed + pstatus = False # chkconfig/init.d service if entry.get('status') == 'on': |