Remove extraneous space from end of command string in nagios_cmd

This commit is contained in:
Bruce Pennypacker 2015-12-11 16:06:33 +00:00
parent 0ee578e938
commit 5abd7deab0

View file

@ -873,7 +873,7 @@ class Nagios(object):
pre = '[%s]' % int(time.time())
post = '\n'
cmdstr = '%s %s %s' % (pre, cmd, post)
cmdstr = '%s %s%s' % (pre, cmd, post)
self._write_command(cmdstr)
def act(self):