projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5823860
)
tools/btmgmt: Return exit status for non-interactive
69/205069/1
author
ERAMOTO Masaya
<eramoto.masaya@jp.fujitsu.com>
Mon, 26 Mar 2018 08:31:11 +0000
(17:31 +0900)
committer
Amit Purwar
<amit.purwar@samsung.com>
Mon, 29 Apr 2019 04:20:06 +0000
(09:50 +0530)
Change-Id: If5aa34edd47a6405e5519bebc49a4d6814f3dfef
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
tools/btmgmt.c
patch
|
blob
|
history
diff --git
a/tools/btmgmt.c
b/tools/btmgmt.c
index
4ac49bd
..
3af0d7f
100755
(executable)
--- a/
tools/btmgmt.c
+++ b/
tools/btmgmt.c
@@
-4547,7
+4547,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);