commit | 1fe1f3a23d31efa99ef2be65dd38a6be868e1a2a | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Thu Jan 02 19:27:40 2020 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 03 08:40:34 2020 -0500 |
tree | f5b92349d30ca774119ed2a7b7ef1ae4817bb829 | |
parent | 0fb370b257e1060c0155df30059e5177f07f8a62 [diff] |
sanitycheck: clean up TTY on exit The code has a lot of sys.exit() calls, but internally these just raise a special exception. Add a try...finally block to ensure 'stty sane' is run before leaving the script. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>