Get output for processutils.execute impi command

Without return will ony execute the command, but impi command need
a output to parse, so this commit add a return for command execute.

Change-Id: Id583cd0d9dcc30b59d2d70391ea5b1e6483decda
This commit is contained in:
zhurong 2019-08-07 13:26:06 +08:00
parent 815726623d
commit d8ae0e96bb

View File

@ -22,4 +22,4 @@ import ceilometer.privsep
@ceilometer.privsep.sys_admin_pctxt.entrypoint
def ipmi(*cmd):
processutils.execute(*cmd)
return processutils.execute(*cmd)