From: Samuel Mendoza-Jonas Date: Tue, 5 Jun 2018 00:24:20 +0000 (+1000) Subject: ui/ncurses: Simplify starting shell X-Git-Tag: v1.10.0~7 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=b917fc4ec145de2457349bd5df358c89617f1581;hp=b917fc4ec145de2457349bd5df358c89617f1581 ui/ncurses: Simplify starting shell Instead of calling sh twice to echo the 'exiting' message just call sh by itself and leave any welcome message to the shell's interactive config. Also drop the explicit nc_scr_unpost() in cui_run_cmd() since clear() will blank out the screen anyway. Signed-off-by: Samuel Mendoza-Jonas ---