aboutsummaryrefslogtreecommitdiffstats
path: root/trigcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trigcap.c')
-rw-r--r--trigcap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/trigcap.c b/trigcap.c
index 37ce60a966..8571cabea6 100644
--- a/trigcap.c
+++ b/trigcap.c
@@ -249,9 +249,15 @@ int main(int argc, char** argv) {
dprintf(2,"opened dumper file '%s'\n",outfile);
signal(SIGINT, sig_int);
+#ifdef SIGQUIT
signal(SIGQUIT, sig_int);
+#endif
+#ifdef SIGTERM
signal(SIGTERM, sig_int);
+#endif
+#ifdef SIGSTOP
signal(SIGSTOP, sig_int);
+#endif
keep_going = 1;
dumping = 0;