14 lines
390 B
Diff
14 lines
390 B
Diff
|
Index: src/main.c
|
||
|
===================================================================
|
||
|
--- src/main.c.orig
|
||
|
+++ src/main.c
|
||
|
@@ -526,6 +526,8 @@ cscope: Could not create private temp di
|
||
|
}
|
||
|
/* cleanup on the hangup signal */
|
||
|
signal(SIGHUP, myexit);
|
||
|
+ /* and on termination signal */
|
||
|
+ signal(SIGTERM, myexit);
|
||
|
|
||
|
/* ditto the TERM signal */
|
||
|
signal(SIGTERM, myexit);
|