diff options
Diffstat (limited to '')
-rw-r--r-- | src/xz/signals.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xz/signals.c b/src/xz/signals.c index 7e65b2a3..ff524d18 100644 --- a/src/xz/signals.c +++ b/src/xz/signals.c @@ -71,6 +71,12 @@ signals_init(void) for (size_t i = 0; i < ARRAY_SIZE(sigs); ++i) sigaddset(&hooked_signals, sigs[i]); +#ifdef SIGALRM + // Add also the signals from message.c to hooked_signals. + for (size_t i = 0; message_progress_sigs[i] != 0; ++i) + sigaddset(&hooked_signals, message_progress_sigs[i]); +#endif + struct sigaction sa; // All the signals that we handle we also blocked while the signal |