summaryrefslogtreecommitdiffstats
path: root/discover/sysinfo.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-11-23 13:25:29 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-11-30 15:47:50 +1100
commitf18998f6aac3bfe6785b70056595b0e71dc6fefc (patch)
treef628d0b8cf1fcbe14506c28976daa9b3d4b75ec8 /discover/sysinfo.c
parent3af2c04787af928b296079a7e10388fe5958bd8b (diff)
downloadtalos-petitboot-1.6.5.tar.gz
talos-petitboot-1.6.5.zip
ui/ncurses: Always cancel autoboot on exitv1.6.5
If the ncurses UI exits before it has contacted the server it is meant to fork a process to wait until the connection is made and cancel autoboot. This prevents users dropping to the shell and then having the machine boot out from underneath them. In e1e2ca68 "Spawn shell in exit handler" the UI doesn't actually exit on "exit", but it isn't listening to server events either while the shell is active. In this case make sure we still fork to notify the server. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> (cherry picked from commit c916e133367688075f568fed390b625b9325c68b)
Diffstat (limited to 'discover/sysinfo.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud