Disable sigterm

This commit is contained in:
Glenn L McGrath 2001-04-11 15:09:30 +00:00
parent 48081f81bd
commit f70f6cef39
3 changed files with 9 additions and 9 deletions

View File

@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
(void) signal(SIGINT, (sig_type) abort_gzip); (void) signal(SIGINT, (sig_type) abort_gzip);
} }
#ifdef SIGTERM #ifdef SIGTERM
if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { // if (signal(SIGTERM, SIG_IGN) != SIG_IGN) {
(void) signal(SIGTERM, (sig_type) abort_gzip); // (void) signal(SIGTERM, (sig_type) abort_gzip);
} // }
#endif #endif
#ifdef SIGHUP #ifdef SIGHUP
if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { if (signal(SIGHUP, SIG_IGN) != SIG_IGN) {

View File

@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
(void) signal(SIGINT, (sig_type) abort_gzip); (void) signal(SIGINT, (sig_type) abort_gzip);
} }
#ifdef SIGTERM #ifdef SIGTERM
if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { // if (signal(SIGTERM, SIG_IGN) != SIG_IGN) {
(void) signal(SIGTERM, (sig_type) abort_gzip); // (void) signal(SIGTERM, (sig_type) abort_gzip);
} // }
#endif #endif
#ifdef SIGHUP #ifdef SIGHUP
if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { if (signal(SIGHUP, SIG_IGN) != SIG_IGN) {

View File

@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
(void) signal(SIGINT, (sig_type) abort_gzip); (void) signal(SIGINT, (sig_type) abort_gzip);
} }
#ifdef SIGTERM #ifdef SIGTERM
if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { // if (signal(SIGTERM, SIG_IGN) != SIG_IGN) {
(void) signal(SIGTERM, (sig_type) abort_gzip); // (void) signal(SIGTERM, (sig_type) abort_gzip);
} // }
#endif #endif
#ifdef SIGHUP #ifdef SIGHUP
if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { if (signal(SIGHUP, SIG_IGN) != SIG_IGN) {