summaryrefslogtreecommitdiff
path: root/tools/btmgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/btmgmt.c')
-rw-r--r--tools/btmgmt.c2
1 files changed, 1 insertions, 1 deletions
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);