summaryrefslogtreecommitdiffstats
path: root/ui/common/discover-client.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-06-05 10:24:20 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-12-03 14:39:57 +1100
commitb917fc4ec145de2457349bd5df358c89617f1581 (patch)
treeb408b7c49772024348940e484dca7724cc992266 /ui/common/discover-client.c
parent1b72d21bc3713b6c82f56e31e84413e0956fa4ed (diff)
downloadtalos-petitboot-b917fc4ec145de2457349bd5df358c89617f1581.tar.gz
talos-petitboot-b917fc4ec145de2457349bd5df358c89617f1581.zip
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 <sam@mendozajonas.com>
Diffstat (limited to 'ui/common/discover-client.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud