commit - a755a22cd4eca6783f283b88d3734fc2ce087bb7
commit + da76b65174488c46bf80a5af7896dfdc3ae60fee
blob - 9bea56cb0ddb3074ed1ef1574a25a359a1b5eb73
blob + 0700417f4a9557b15e2d4bbbdb112efdb79a21fa
--- gotd/imsg.c
+++ gotd/imsg.c
break;
}
}
- }
+ }
return err;
}
blob - f5c8a7335929e0830dbfcf9ac56d33e3d8f13e84
blob + 6e5a1fefead2c988b80631336d106254007434f7
--- gotd/session.c
+++ gotd/session.c
else
return got_error_msg(GOT_ERR_PRIVSEP_MSG,
"bad child process type");
-
+
if (imsg->fd == -1)
return got_error(GOT_ERR_PRIVSEP_NO_FD);
/* This pipe is dead. Remove its event handler */
event_del(&iev->ev);
event_loopexit(NULL);
- }
+ }
}
void