diff options
author | Colin Ian King <colin.king@canonical.com> | 2015-12-09 11:32:05 +0000 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2015-12-09 12:38:16 -0800 |
commit | 4008ba9158a5518fea7f36914f1d0af17dfe192e (patch) | |
tree | aa22b9912ad29f50cc2567c7c8e587cb8eaf1821 | |
parent | c404fc0cba825832351318d14225cb6611e45651 (diff) | |
download | acpica-4008ba9158a5518fea7f36914f1d0af17dfe192e.tar.gz |
acpiexec: restore tty back to original state on exit
AcpiOsTerminate is not being called when acpiexec exits on a non-error
exit path, hence the tty is not being restored on exit.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
-rw-r--r-- | source/tools/acpiexec/aemain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tools/acpiexec/aemain.c b/source/tools/acpiexec/aemain.c index f7f39ab05..ae7fad5cc 100644 --- a/source/tools/acpiexec/aemain.c +++ b/source/tools/acpiexec/aemain.c @@ -734,6 +734,7 @@ EnterDebugger: break; } + (void) AcpiOsTerminate (); return (0); |