diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-23 11:48:07 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-23 16:33:19 +1100 |
commit | 1dd51e986202e5e111c1042f148867bd08c2bedc (patch) | |
tree | 0ce589d83b05cf4db037fbd3d6fb5fca7c19cbe3 /ui/ncurses/nc-config.c | |
parent | e1e5d7f8169f36978a08078582c4cd1d2e71264e (diff) | |
download | talos-petitboot-1dd51e986202e5e111c1042f148867bd08c2bedc.tar.gz talos-petitboot-1dd51e986202e5e111c1042f148867bd08c2bedc.zip |
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.c')
0 files changed, 0 insertions, 0 deletions