commit | 42a6847f2c115c9131e78558801bd631b86aa061 | [log] [tgz] |
---|---|---|
author | ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com> | Mon Mar 26 17:31:11 2018 +0900 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue Mar 27 13:58:21 2018 +0300 |
tree | e738505bdf4b71cd8d9ead9e045d4a7a0c5fc21e | |
parent | d2f105c3e2b472d0b0a5be4a1fa89db15e98499f [diff] |
tools/btmgmt: Return exit status for non-interactive
diff --git a/tools/btmgmt.c b/tools/btmgmt.c index 122c46d..f60bb8b 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c
@@ -4416,7 +4416,7 @@ bt_shell_attach(fileno(stdin)); update_prompt(mgmt_index); - bt_shell_run(); + status = bt_shell_run(); mgmt_cancel_all(mgmt); mgmt_unregister_all(mgmt);