diff options
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 6 | ||||
-rw-r--r-- | archival/libunarchive/unzip.c | 6 | ||||
-rw-r--r-- | libbb/unzip.c | 6 |
3 files changed, 9 insertions, 9 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) | |||
912 | (void) signal(SIGINT, (sig_type) abort_gzip); | 912 | (void) signal(SIGINT, (sig_type) abort_gzip); |
913 | } | 913 | } |
914 | #ifdef SIGTERM | 914 | #ifdef SIGTERM |
915 | if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { | 915 | // if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { |
916 | (void) signal(SIGTERM, (sig_type) abort_gzip); | 916 | // (void) signal(SIGTERM, (sig_type) abort_gzip); |
917 | } | 917 | // } |
918 | #endif | 918 | #endif |
919 | #ifdef SIGHUP | 919 | #ifdef SIGHUP |
920 | if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { | 920 | 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) | |||
912 | (void) signal(SIGINT, (sig_type) abort_gzip); | 912 | (void) signal(SIGINT, (sig_type) abort_gzip); |
913 | } | 913 | } |
914 | #ifdef SIGTERM | 914 | #ifdef SIGTERM |
915 | if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { | 915 | // if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { |
916 | (void) signal(SIGTERM, (sig_type) abort_gzip); | 916 | // (void) signal(SIGTERM, (sig_type) abort_gzip); |
917 | } | 917 | // } |
918 | #endif | 918 | #endif |
919 | #ifdef SIGHUP | 919 | #ifdef SIGHUP |
920 | if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { | 920 | if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { |
diff --git a/libbb/unzip.c b/libbb/unzip.c index 576fe340a..b843ec812 100644 --- a/libbb/unzip.c +++ b/libbb/unzip.c | |||
@@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file) | |||
912 | (void) signal(SIGINT, (sig_type) abort_gzip); | 912 | (void) signal(SIGINT, (sig_type) abort_gzip); |
913 | } | 913 | } |
914 | #ifdef SIGTERM | 914 | #ifdef SIGTERM |
915 | if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { | 915 | // if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { |
916 | (void) signal(SIGTERM, (sig_type) abort_gzip); | 916 | // (void) signal(SIGTERM, (sig_type) abort_gzip); |
917 | } | 917 | // } |
918 | #endif | 918 | #endif |
919 | #ifdef SIGHUP | 919 | #ifdef SIGHUP |
920 | if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { | 920 | if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { |