diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-10-15 23:12:44 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-10-15 23:12:44 +0000 |
commit | 3a8c04fa34325f6df7669aca0ba621976ce8b862 (patch) | |
tree | 0033042921d57331b23a9034511f7583c95fc476 /src | |
parent | c4185bebcb8f2eb96ea4a8e1ba0809b5b6e6577d (diff) | |
download | bcfg2-3a8c04fa34325f6df7669aca0ba621976ce8b862.tar.gz bcfg2-3a8c04fa34325f6df7669aca0ba621976ce8b862.tar.bz2 bcfg2-3a8c04fa34325f6df7669aca0ba621976ce8b862.zip |
Fix DebInit traceback (Resolves Ticket #486)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3806 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/DebInit.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/DebInit.py b/src/lib/Client/Tools/DebInit.py index 8855887de..9f52861a4 100644 --- a/src/lib/Client/Tools/DebInit.py +++ b/src/lib/Client/Tools/DebInit.py @@ -78,8 +78,7 @@ class DebInit(Bcfg2.Client.Tools.SvcTool): entry.get('reload', self.__svcrestart__)))[0] else: self.logger.debug('Stopping service %s' % entry.get('name')) - rc = self.cmd.run('%s stop' % \ - (command, entry.get('name')))[0] + rc = self.cmd.run('%s stop' % command)[0] if rc: self.logger.error("Failed to restart service %s" % (entry.get('name'))) |