Fix a little bug in running "modules list".
(cherry picked from commit 5dddef6f49
)
This commit is contained in:
parent
3a89828faf
commit
312faf6275
@ -38,7 +38,7 @@ def modules_cmd(opts):
|
||||
|
||||
api_route = client.api_url(opts.api_version, "/modules/list")
|
||||
result = client.get_url_json(opts.socket, api_route)
|
||||
(rc, exit_now) = handle_api_result(result, opts.show_json)
|
||||
(rc, exit_now) = handle_api_result(result, opts.json)
|
||||
if exit_now:
|
||||
return rc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user