Commit Diff


commit - d3f5ca65eb6fe66739a2a3b333309c225d04e987
commit + d95d69074c849c2f95e9f12f2cd4403a60ba30fe
blob - a8dc573fbe5efb0c2de972bc04d6784afba0e705
blob + 0e16a80af5bb8c817fdee0d06b2bf9a3fff1502e
--- lib/serve.c
+++ lib/serve.c
@@ -1101,7 +1101,7 @@ recv_packfile(struct imsg *imsg, int infd)
 
 		if (r == 0) {
 			/* Detect gotd(8) closing the pack pipe when done. */
-			err = got_poll_fd(packfd, POLLOUT, 1);
+			err = got_poll_fd(packfd, 0, 1);
 			if (err) {
 				if (err->code != GOT_ERR_EOF)
 					break;