artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac61aa8
)
Like all other log.c just exit(1) in fatal()
author
claudio
<claudio@openbsd.org>
Tue, 19 Jan 2021 11:39:13 +0000
(11:39 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 19 Jan 2021 11:39:13 +0000
(11:39 +0000)
usr.sbin/dvmrpd/log.c
patch
|
blob
|
history
diff --git
a/usr.sbin/dvmrpd/log.c
b/usr.sbin/dvmrpd/log.c
index
899b8a0
..
4b6a8da
100644
(file)
--- 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