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
This commit is contained in:
parent
e33b7fabd6
commit
0f2d2bf60f
|
@ -48,6 +48,7 @@ sigterm(int sig)
|
|||
#define S "SIGTERM received.\n"
|
||||
write(STDOUT_FILENO, S, -1 + sizeof S);
|
||||
#undef S
|
||||
exit(1);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue