diff options
author | 2021-01-19 11:39:13 +0000 | |
---|---|---|
committer | 2021-01-19 11:39:13 +0000 | |
commit | c12a113b35e1205515fafcad825ead07690aabee (patch) | |
tree | 676dfa80f3b879bb57698e29612af0ce31567bb8 | |
parent | Kill global eigrpd_process and instead pass the proc to merge_config() (diff) | |
download | wireguard-openbsd-c12a113b35e1205515fafcad825ead07690aabee.tar.xz wireguard-openbsd-c12a113b35e1205515fafcad825ead07690aabee.zip |
Like all other log.c just exit(1) in fatal()
-rw-r--r-- | usr.sbin/dvmrpd/log.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/dvmrpd/log.c b/usr.sbin/dvmrpd/log.c index 899b8a0e67a..4b6a8dab1c7 100644 --- a/usr.sbin/dvmrpd/log.c +++ b/usr.sbin/dvmrpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.6 2017/03/21 12:06:55 bluhm Exp $ */ +/* $OpenBSD: log.c,v 1.7 2021/01/19 11:39:13 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -151,10 +151,7 @@ fatal(const char *emsg) logit(LOG_CRIT, "fatal in %s: %s", log_procname, emsg); - if (dvmrpd_process == PROC_MAIN) - exit(1); - else /* parent copes via SIGCHLD */ - _exit(1); + exit(1); } void |