From ae22cf0599fcd2899474b5f676b48f8730199e52 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 11 Nov 2025 12:57:49 +0000 Subject: [PATCH] dhcpcd: set exiting on the control socket --- src/dhcpcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 0102c306..4881f7dd 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1720,6 +1720,7 @@ dumperr: if (opts & (DHCPCD_EXITING | DHCPCD_RELEASE)) { if (oifind == argc && af == AF_UNSPEC) { + ctx->options |= DHCPCD_EXITING; if (stop_all_interfaces(ctx, opts) == false) eloop_exit(ctx->eloop, EXIT_SUCCESS); /* We did stop an interface, it will notify us once -- 2.47.3