From: Roy Marples Date: Tue, 4 Nov 2025 09:18:57 +0000 (+0000) Subject: privsep: test eloop error correctly X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Frelease;p=thirdparty%2Fdhcpcd.git privsep: test eloop error correctly --- diff --git a/src/privsep.c b/src/privsep.c index 76668fb2..316520c1 100644 --- a/src/privsep.c +++ b/src/privsep.c @@ -760,7 +760,7 @@ ps_stopwait(struct dhcpcd_ctx *ctx) #endif error = eloop_start(ctx->ps_eloop); - if (error != EXIT_SUCCESS) + if (error < 0) logerr("%s: eloop_start", __func__); eloop_timeout_delete(ctx->ps_eloop, ps_process_timeout, ctx);