diff mbox series

[BlueZ,v3,4/5] player.c: Remove bt_shell_noninteractive_quit on commands

Message ID 20240315150158.79715-5-silviu.barbulescu@nxp.com
State Superseded
Headers show
Series Broadcast source reconfiguration support | expand

Commit Message

Silviu Florian Barbulescu March 15, 2024, 3:01 p.m. UTC
cmd_acquire_transport and cmd_release_transport should not call
bt_shell_noninteractive_quit, this will be called on acquire_reply
respectively release_reply.
Only on replay the acquire\release process is finished

---
 client/player.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/client/player.c b/client/player.c
index c754af33d..f3f8c15eb 100644
--- a/client/player.c
+++ b/client/player.c
@@ -4895,7 +4895,7 @@  static void cmd_acquire_transport(int argc, char *argv[])
 		transport_acquire(proxy, false);
 	}
 
-	return bt_shell_noninteractive_quit(EXIT_SUCCESS);
+	return;
 }
 
 static void release_reply(DBusMessage *message, void *user_data)
@@ -4947,7 +4947,7 @@  static void cmd_release_transport(int argc, char *argv[])
 		}
 	}
 
-	return bt_shell_noninteractive_quit(EXIT_SUCCESS);
+	return;
 }
 
 static int open_file(const char *filename, int flags)