]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: Spawn shell in exit handler
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 29 Aug 2017 03:52:31 +0000 (13:52 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 4 Oct 2017 05:41:17 +0000 (16:41 +1100)
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>

No differences found