--- tools/btmgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/btmgmt.c b/tools/btmgmt.c index 122c46d0d..f60bb8b53 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c @@ -4416,7 +4416,7 @@ int main(int argc, char *argv[]) bt_shell_attach(fileno(stdin)); update_prompt(mgmt_index); - bt_shell_run(); + status = bt_shell_run(); mgmt_cancel_all(mgmt); mgmt_unregister_all(mgmt); -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html