From 0f2d2bf60f99084fc92bcd3490221e18eababd8b Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 4 Mar 2004 14:31:21 +0000 Subject: [PATCH] Actually exit on SIGTERM, this appears to be more convenient for most tests. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@266 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- nethackstub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nethackstub.c b/nethackstub.c index 1ad6bab..fb1c007 100644 --- a/nethackstub.c +++ b/nethackstub.c @@ -48,6 +48,7 @@ sigterm(int sig) #define S "SIGTERM received.\n" write(STDOUT_FILENO, S, -1 + sizeof S); #undef S + exit(1); } void -- 2.47.3