From 6bd75980fad1eff4f63d69cf45153d380ff26b00 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 21 Dec 2010 05:17:15 +0000 Subject: [PATCH] git-svn-id: svn://qnap.local/TwoTerm/trunk@1890 5590a31f-7b70-45f8-8c82-aa3a8e5f4507 --- TermWindowController.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TermWindowController.mm b/TermWindowController.mm index abe2411..14514d7 100644 --- a/TermWindowController.mm +++ b/TermWindowController.mm @@ -138,7 +138,8 @@ fprintf(stderr, "execle failed\n"); fflush(stderr); - exit(-1); + // should not call exit. + _exit(-1); // child }