From: kn Date: Fri, 26 Feb 2021 18:28:07 +0000 (+0000) Subject: Ignore SIGHUP X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b32a2ee442d71a2a83bb0e65d57ccbd41379354b;p=openbsd Ignore SIGHUP It should always run and there is no reload semantic. OK deraadt --- 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");