updates to check_cmd to just return output, as status is pointless
This commit is contained in:
parent
43554cbb62
commit
a8ee7f35d6
12 changed files with 45 additions and 51 deletions
|
@ -389,7 +389,7 @@ class OvsCtrlNet(OvsNet):
|
|||
Check if there are old control net bridges and delete them
|
||||
"""
|
||||
|
||||
_, output = utils.check_cmd([constants.OVS_BIN, "list-br"])
|
||||
output = utils.check_cmd([constants.OVS_BIN, "list-br"])
|
||||
output = output.strip()
|
||||
if output:
|
||||
for line in output.split("\n"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue