diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-04-11 15:09:30 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-04-11 15:09:30 +0000 |
commit | f70f6cef393c1cc51ec6cabfc51cdf6c12d95286 (patch) | |
tree | 7d1d3505062ba800a1560709699d8262eb8a0090 /archival | |
parent | 48081f81bda9108672fa04fe57b3921cb24ba4b2 (diff) | |
download | busybox-f70f6cef393c1cc51ec6cabfc51cdf6c12d95286.tar.gz |
Disable sigterm
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 6 | ||||
-rw-r--r-- | archival/libunarchive/unzip.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 576fe340a..b843ec812 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file) (void) signal(SIGINT, (sig_type) abort_gzip); } #ifdef SIGTERM - if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { - (void) signal(SIGTERM, (sig_type) abort_gzip); - } +// if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { +// (void) signal(SIGTERM, (sig_type) abort_gzip); +// } #endif #ifdef SIGHUP if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c index 576fe340a..b843ec812 100644 --- a/archival/libunarchive/unzip.c +++ b/archival/libunarchive/unzip.c @@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file) (void) signal(SIGINT, (sig_type) abort_gzip); } #ifdef SIGTERM - if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { - (void) signal(SIGTERM, (sig_type) abort_gzip); - } +// if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { +// (void) signal(SIGTERM, (sig_type) abort_gzip); +// } #endif #ifdef SIGHUP if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { |