From b32a2ee442d71a2a83bb0e65d57ccbd41379354b Mon Sep 17 00:00:00 2001 From: kn Date: Fri, 26 Feb 2021 18:28:07 +0000 Subject: [PATCH] Ignore SIGHUP It should always run and there is no reload semantic. OK deraadt --- sbin/resolvd/resolvd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sbin/resolvd/resolvd.c b/sbin/resolvd/resolvd.c index dbf6787f0a9..01c9da57795 100644 --- a/sbin/resolvd/resolvd.c +++ b/sbin/resolvd/resolvd.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -200,6 +201,8 @@ main(int argc, char *argv[]) } #endif + signal(SIGHUP, SIG_IGN); + if ((routesock = socket(AF_ROUTE, SOCK_RAW, 0)) == -1) lerr(1, "route socket"); -- 2.20.1