Skip to content

Commit

Permalink
Exit after fatal dnsmasq errors
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed May 4, 2024
1 parent 1c2257b commit 230989e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dnsmasq/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 230989e

Please sign in to comment.