From 230989ebbd3bf33b74c65596d025c72ebad2b41a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 4 May 2024 10:11:35 +0200 Subject: [PATCH] Exit after fatal dnsmasq errors Signed-off-by: DL6ER --- src/dnsmasq/log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dnsmasq/log.c b/src/dnsmasq/log.c index 661f077fe..356b4fcba 100644 --- a/src/dnsmasq/log.c +++ b/src/dnsmasq/log.c @@ -511,4 +511,6 @@ void die(char *message, char *arg1, int exit_code) /********** Pi-hole modification *************/ FTL_log_dnsmasq_fatal(message, arg1, errmess); /*********************************************/ + + exit(exit_code); }