mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 02:48:28 +00:00
commit
4e02c30363
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class CmdHandler(object):
|
||||||
LOG.debug('Executing %r' % cmd)
|
LOG.debug('Executing %r' % cmd)
|
||||||
output = Popen(cmd, stdout=PIPE).communicate()[0]
|
output = Popen(cmd, stdout=PIPE).communicate()[0]
|
||||||
except OSError, exc:
|
except OSError, exc:
|
||||||
LOG.exception()
|
LOG.exception("Unable to execute the command %r" % cmd)
|
||||||
self.put_fun("# ERROR: %s\n" % exc)
|
self.put_fun("# ERROR: %s\n" % exc)
|
||||||
return
|
return
|
||||||
self.put_fun(output)
|
self.put_fun(output)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue