commit | 33b84751d3923dd1c63d43a1e0470faeba34b249 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat May 18 11:59:44 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:58 2019 -0600 |
tree | 160e38c4faaab66068c20fea8166808f5132d391 | |
parent | 2fe5b918004c50d33e9180b1ec23d9b78baffaef [diff] |
sandbox: Quit when hang() is called It doesn't make a lot of sense to hang on sandbox when hang() is called, since the only way out is Ctrl-C. In fact, Ctrl-C does not work if the terminal is in raw mode, which it will be if the command-line has not been reached yet. In that case, Ctrl-Z / kill -9 must be used, which is not very friendly. Avoid all of this by quiting when hang() is called. Signed-off-by: Simon Glass <sjg@chromium.org>