Diff between d2f105c3e2b472d0b0a5be4a1fa89db15e98499f and 42a6847f2c115c9131e78558801bd631b86aa061

Changed Files

File Additions Deletions Status
tools/btmgmt.c +1 -1 modified

Full Patch

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 @@ 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);