Remove extraneous space from end of command string in nagios_cmd
This commit is contained in:
parent
0ee578e938
commit
5abd7deab0
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ class Nagios(object):
|
||||||
pre = '[%s]' % int(time.time())
|
pre = '[%s]' % int(time.time())
|
||||||
|
|
||||||
post = '\n'
|
post = '\n'
|
||||||
cmdstr = '%s %s %s' % (pre, cmd, post)
|
cmdstr = '%s %s%s' % (pre, cmd, post)
|
||||||
self._write_command(cmdstr)
|
self._write_command(cmdstr)
|
||||||
|
|
||||||
def act(self):
|
def act(self):
|
||||||
|
|
Loading…
Reference in a new issue