2009-02-16 01:14:51 +01:00
|
|
|
Index: src/main.c
|
|
|
|
===================================================================
|
|
|
|
--- src/main.c.orig
|
2007-12-13 14:02:11 +01:00
|
|
|
+++ src/main.c
|
2009-02-16 01:14:51 +01:00
|
|
|
@@ -375,6 +375,8 @@ cscope: Could not create private temp di
|
2007-12-13 14:02:11 +01:00
|
|
|
}
|
|
|
|
/* cleanup on the hangup signal */
|
|
|
|
signal(SIGHUP, myexit);
|
|
|
|
+ /* and on termination signal */
|
|
|
|
+ signal(SIGTERM, myexit);
|
|
|
|
|
2009-02-16 01:14:51 +01:00
|
|
|
/* ditto the TERM signal */
|
|
|
|
signal(SIGTERM, myexit);
|