[29/29] ui/ncurses: Don't announce pb-discover connection
diff mbox

Message ID 20161219041915.30497-30-sam@mendozajonas.com
State Accepted
Headers show

Commit Message

Samuel Mendoza-Jonas Dec. 19, 2016, 4:19 a.m. UTC
The "Connected to pb-discover!" message is more useful for development
than actual use; for users the more important messages are related to
device and configuration parsing. Drop the message to slightly reduce
the level of noise on start up.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 ui/ncurses/nc-cui.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch
diff mbox

diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index b4f74a7..fbc02b9 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -1007,8 +1007,7 @@  static int cui_server_wait(void *arg)
 		nc_scr_status_printf(cui->current,
 				     "Info: Waiting for device discovery");
 	} else {
-		nc_scr_status_printf(cui->current,
-				     "Info: Connected to pb-discover!");
+		nc_scr_status_free(cui->current);
 		talloc_steal(cui, cui->client);
 
 		if (cui->has_input) {