summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-config-help.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-11-23 11:48:07 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-11-23 16:33:19 +1100
commit1dd51e986202e5e111c1042f148867bd08c2bedc (patch)
tree0ce589d83b05cf4db037fbd3d6fb5fca7c19cbe3 /ui/ncurses/nc-config-help.c
parente1e5d7f8169f36978a08078582c4cd1d2e71264e (diff)
downloadpetitboot-1dd51e986202e5e111c1042f148867bd08c2bedc.zip
petitboot-1dd51e986202e5e111c1042f148867bd08c2bedc.tar.gz
ui/ncurses: Spin child to ensure autoboot cancelled on exit
If the client is not connected to the server instance when exiting, fork and have the child process spin until the server is available and can be told to cancel autoboot. This prevents the scenario of a user exiting the UI and having the server continue to autoboot while they are using the command line. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-config-help.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud