From a8554c1cd2e8e540c9ca6124a30ab422d02b8153 Mon Sep 17 00:00:00 2001 From: dlg Date: Sun, 12 Nov 2023 15:18:04 +0000 Subject: [PATCH] fix the signal numbers passed to siginterrupt. from dhill@ --- sbin/pflogd/pflogd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c index 5b0740c84d5..271e46326ee 100644 --- a/sbin/pflogd/pflogd.c +++ b/sbin/pflogd/pflogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.c,v 1.64 2023/11/09 18:36:19 dlg Exp $ */ +/* $OpenBSD: pflogd.c,v 1.65 2023/11/12 15:18:04 dlg Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -690,13 +690,13 @@ main(int argc, char **argv) signal(SIGTERM, sig_close); siginterrupt(SIGTERM, 1); signal(SIGINT, sig_close); - siginterrupt(SIGTERM, 1); + siginterrupt(SIGINT, 1); signal(SIGQUIT, sig_close); - siginterrupt(SIGTERM, 1); + siginterrupt(SIGQUIT, 1); signal(SIGALRM, sig_alrm); - siginterrupt(SIGTERM, 1); + siginterrupt(SIGALRM, 1); signal(SIGHUP, sig_hup); - siginterrupt(SIGTERM, 1); + siginterrupt(SIGHUP, 1); alarm(delay); if (priv_init_pcap(snaplen)) -- 2.20.1