summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-textscreen.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-08-29 13:52:31 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-10-04 16:41:17 +1100
commite1e2ca689661791ba38bf2572df8a65e36258ac2 (patch)
tree1dc9b48c120b6488b4d1178fbd375be69c68c9f6 /ui/ncurses/nc-textscreen.c
parentaf51ccb8b8664eb9462aa4a6e7e2a9f52430647f (diff)
downloadtalos-petitboot-e1e2ca689661791ba38bf2572df8a65e36258ac2.tar.gz
talos-petitboot-e1e2ca689661791ba38bf2572df8a65e36258ac2.zip
ui/ncurses: Spawn shell in exit handler
In cui_on_exit()_ instead of exiting the program spawn a sh instance. This allows the user to drop to the shell and return without losing any custom boot options, for example. SIGINT still calls cui_abort() to properly exit Petitboot. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-textscreen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud