Page MenuHomeFreeBSD

D36356.diff
No OneTemporary

D36356.diff

diff --git a/sbin/init/init.c b/sbin/init/init.c
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -1143,10 +1143,10 @@
do {
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
collect_child(wpid);
+ if (requested_transition == death_single ||
+ requested_transition == reroot)
+ return (state_func_t) requested_transition;
if (wpid == -1) {
- if (requested_transition == death_single ||
- requested_transition == reroot)
- return (state_func_t) requested_transition;
if (errno == EINTR)
continue;
warning("wait for %s on %s failed: %m; going to "

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 9:32 AM (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15780295
Default Alt Text
D36356.diff (592 B)

Event Timeline