summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/DebInit.py3
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')))