diff options
Diffstat (limited to 'src/lib/Client/Tools/FreeBSDInit.py')
-rw-r--r-- | src/lib/Client/Tools/FreeBSDInit.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/FreeBSDInit.py b/src/lib/Client/Tools/FreeBSDInit.py index 8e13e7981..695698f4c 100644 --- a/src/lib/Client/Tools/FreeBSDInit.py +++ b/src/lib/Client/Tools/FreeBSDInit.py @@ -23,12 +23,14 @@ class FreeBSDInit(Bcfg2.Client.Tools.SvcTool): if self.handlesEntry(entry): command = "/usr/local/etc/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')) + self.logger.debug('Restarting service %s' % \ + entry.get('name')) 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' % command)[0] if rc: - self.logger.error("Failed to restart service %s" % (entry.get('name'))) + self.logger.error("Failed to restart service %s" % \ + (entry.get('name'))) |