jcs's openbsd hax
openbsd

Like in all other log.c file just use exit(1) in fatal() calls. This log.c should be further synced with the other log.c files.

claudio ec786fee 8654e9c5

+2 -5
+2 -5
usr.sbin/ripd/log.c
··· 1 - /* $OpenBSD: log.c,v 1.7 2017/03/21 12:06:56 bluhm Exp $ */ 1 + /* $OpenBSD: log.c,v 1.8 2021/01/19 10:16:44 claudio Exp $ */ 2 2 3 3 /* 4 4 * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> ··· 150 150 logit(LOG_CRIT, "fatal in %s: %s", 151 151 log_procname, emsg); 152 152 153 - if (ripd_process == PROC_MAIN) 154 - exit(1); 155 - else /* parent copes via SIGCHLD */ 156 - _exit(1); 153 + exit(1); 157 154 } 158 155 159 156 void