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

Samuel Mendoza-Jonas sam at mendozajonas.com
Mon Dec 19 15:19:15 AEDT 2016


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 at mendozajonas.com>
---
 ui/ncurses/nc-cui.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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) {
-- 
2.10.2



More information about the Petitboot mailing list