]> skyeroc.xyz Git - dgamelaunch/commitdiff
Actually exit on SIGTERM, this appears to be more convenient for most tests.
authorJilles Tjoelker <jilles@stack.nl>
Thu, 4 Mar 2004 14:31:21 +0000 (14:31 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Thu, 4 Mar 2004 14:31:21 +0000 (14:31 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@266 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

nethackstub.c

index 1ad6baba99b986202db1a9f2d31776607a82dde8..fb1c007c40682f202e5400b71c336e7a834d6fdd 100644 (file)
@@ -48,6 +48,7 @@ sigterm(int sig)
 #define S "SIGTERM received.\n"
     write(STDOUT_FILENO, S, -1 + sizeof S);
 #undef S
+    exit(1);
 }
 
 void