From: Jilles Tjoelker Date: Thu, 4 Mar 2004 14:31:21 +0000 (+0000) Subject: Actually exit on SIGTERM, this appears to be more convenient for most tests. X-Git-Tag: v1.6.1-roc-dev~436 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=0f2d2bf60f99084fc92bcd3490221e18eababd8b;p=dgamelaunch 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 --- 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