diff options
| author | Roy Marples <roy@marples.name> | 2020-06-04 12:31:24 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-06-04 12:31:24 +0100 |
| commit | a18fcc42fe36b732393bd48753bd3dd8f49ddcb0 (patch) | |
| tree | 199e486fd18e1c839f985aeb6278ffc4b88a2c71 /src/privsep-root.c | |
| parent | 71703094c2566a7ccf195f9c1bbfeab79a9d7bed (diff) | |
| download | dhcpcd-a18fcc42fe36b732393bd48753bd3dd8f49ddcb0.tar.xz | |
privsep: Log ECONNRESET errors again
Now that we've improved the robustness of the IPC this is important.
Diffstat (limited to 'src/privsep-root.c')
| -rw-r--r-- | src/privsep-root.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/privsep-root.c b/src/privsep-root.c index 2a45abb9..fdf43856 100644 --- a/src/privsep-root.c +++ b/src/privsep-root.c @@ -596,8 +596,7 @@ ps_root_recvmsg(void *arg) { struct dhcpcd_ctx *ctx = arg; - if (ps_recvpsmsg(ctx, ctx->ps_root_fd, ps_root_recvmsgcb, ctx) == -1 && - errno != ECONNRESET) + if (ps_recvpsmsg(ctx, ctx->ps_root_fd, ps_root_recvmsgcb, ctx) == -1) logerr(__func__); } |
