]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: Simplify starting shell
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 5 Jun 2018 00:24:20 +0000 (10:24 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 3 Dec 2018 03:39:57 +0000 (14:39 +1100)
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 <sam@mendozajonas.com>

No differences found