Skip to content

Commit 8943e26

Browse files
authored
Merge pull request #1946 from pi-hole/fix/crash_fatal_dnsmasq_err_v5
Exit after fatal dnsmasq errors
2 parents 1c2257b + 230989e commit 8943e26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dnsmasq/log.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,4 +511,6 @@ void die(char *message, char *arg1, int exit_code)
511511
/********** Pi-hole modification *************/
512512
FTL_log_dnsmasq_fatal(message, arg1, errmess);
513513
/*********************************************/
514+
515+
exit(exit_code);
514516
}

0 commit comments

Comments
 (0)