aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'input.cpp')
-rw-r--r--input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.cpp b/input.cpp
index 9fc2a0ff..d16fb961 100644
--- a/input.cpp
+++ b/input.cpp
@@ -317,7 +317,7 @@ int input_init()
if( setupterm( 0, STDOUT_FILENO, 0) == ERR )
{
debug( 0, _( L"Could not set up terminal" ) );
- exit(1);
+ exit_without_destructors(1);
}
const env_var_t term = env_get_string( L"TERM" );
assert(! term.missing());