summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gzip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gzip.c b/gzip.c
index d778641..8b8b0bb 100644
--- a/gzip.c
+++ b/gzip.c
@@ -656,7 +656,9 @@ int main (int argc, char **argv)
ALLOC(ush, tab_prefix1, 1L<<(BITS-1));
#endif
+#if SIGPIPE
exiting_signal = quiet ? SIGPIPE : 0;
+#endif
install_signal_handlers ();
/* And get to work */