-/* $OpenBSD: log.c,v 1.59 2015/07/18 22:52:39 benno Exp $ */
+/* $OpenBSD: log.c,v 1.60 2016/08/08 21:44:00 renato Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
logit(LOG_CRIT, "fatal in %s: %s",
procnames[bgpd_process], s);
- if (bgpd_process == PROC_MAIN)
- exit(1);
- else /* parent copes via SIGCHLD */
- _exit(1);
+ exit(1);
}
void
-/* $OpenBSD: rde.c,v 1.347 2016/07/21 10:13:58 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.348 2016/08/08 21:44:00 renato Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
free(ibuf_main);
log_info("route decision engine exiting");
- _exit(0);
+ exit(0);
}
struct network_config netconf_s, netconf_p;
-/* $OpenBSD: session.c,v 1.351 2016/07/25 14:29:28 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.352 2016/08/08 21:44:00 renato Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
control_shutdown(csock);
control_shutdown(rcsock);
log_info("session engine exiting");
- _exit(0);
+ exit(0);
}
void