aboutsummaryrefslogtreecommitdiff
path: root/handle_event.c
diff options
context:
space:
mode:
authorJoe Damato <ice799@gmail.com>2009-11-06 19:45:10 -0800
committerJoe Damato <ice799@gmail.com>2010-11-28 20:07:58 -0800
commit59e3fb19c861f963270e81fc77fd497961ed5d49 (patch)
tree7e9cd58534ec4802ddbaf4a0e6c2f0dddb991d2b /handle_event.c
parentfa2aefc32eb4196966a14d1e7def931652f40d46 (diff)
downloadltrace-59e3fb19c861f963270e81fc77fd497961ed5d49.tar.gz
Add -b, --no-signals to silence signal print outs.
Diffstat (limited to 'handle_event.c')
-rw-r--r--handle_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_event.c b/handle_event.c
index 728ab65..1107cf0 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -330,7 +330,7 @@ handle_signal(Event *event) {
remove_proc(event->proc);
return;
}
- if (event->proc->state != STATE_IGNORED) {
+ if (event->proc->state != STATE_IGNORED && !options.no_signals) {
output_line(event->proc, "--- %s (%s) ---",
shortsignal(event->proc, event->e_un.signum),
strsignal(event->e_un.signum));