aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-11 15:09:30 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-11 15:09:30 +0000
commit4f9c5ce5d633b04e582682a09ae81cfbf2374db4 (patch)
tree7d1d3505062ba800a1560709699d8262eb8a0090 /libbb
parent1edb8adbf22386c1041b345800ea36ecbf277352 (diff)
downloadbusybox-w32-4f9c5ce5d633b04e582682a09ae81cfbf2374db4.tar.gz
busybox-w32-4f9c5ce5d633b04e582682a09ae81cfbf2374db4.tar.bz2
busybox-w32-4f9c5ce5d633b04e582682a09ae81cfbf2374db4.zip
Disable sigterm
git-svn-id: svn://busybox.net/trunk/busybox@2312 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unzip.c6
1 files changed, 3 insertions, 3 deletions
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) {