summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-07-25 21:13:40 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-07-25 21:13:40 +0000
commit0f3fe4b927744ac516d7d55e8db0e13416b7ccbe (patch)
treeec033553662ea1144ce08d5437331a9a789a5443 /src/lib
parent97d8266e66de203e33f620c082331976665bdc2e (diff)
downloadbcfg2-0f3fe4b927744ac516d7d55e8db0e13416b7ccbe.tar.gz
bcfg2-0f3fe4b927744ac516d7d55e8db0e13416b7ccbe.tar.bz2
bcfg2-0f3fe4b927744ac516d7d55e8db0e13416b7ccbe.zip
Fix DebInit format TB
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3570 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/DebInit.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/Client/Tools/DebInit.py b/src/lib/Client/Tools/DebInit.py
index 8ae325730..8855887de 100644
--- a/src/lib/Client/Tools/DebInit.py
+++ b/src/lib/Client/Tools/DebInit.py
@@ -74,9 +74,8 @@ class DebInit(Bcfg2.Client.Tools.SvcTool):
command = "/usr/sbin/invoke-rc.d %s" % entry.get('name')
if entry.get('status') == 'on' and not self.setup['build']:
self.logger.debug('Restarting service %s' % entry.get('name'))
- rc = self.cmd.run('%s %s' % \
- (command, entry.get('name'),
- entry.get('reload', self.__svcrestart__)))[0]
+ rc = self.cmd.run('%s %s' % (command, \
+ entry.get('reload', self.__svcrestart__)))[0]
else:
self.logger.debug('Stopping service %s' % entry.get('name'))
rc = self.cmd.run('%s stop' % \