blob: ae57b54c9811b7a99ec781fdcd94e276e12f69bd [file] [log] [blame]
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -98,6 +98,8 @@ int main (int argc, char **argv)
/* ignore SIGPIPE */
sigact.sa_handler = SIG_IGN;
sigaction(SIGPIPE, &sigact, NULL);
+ /* ignore SIGALRM */
+ sigaction(SIGALRM, &sigact, NULL);
umask(022); /* known umask, create leases and pid files as 0644 */