From: Aleš Mrázek Date: Tue, 18 Nov 2025 13:06:39 +0000 (+0100) Subject: daemon/main.c: send READY notification only on Linux X-Git-Tag: v6.0.17~4^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f0fec9d0182c631b1e49b468edea97db72a497c;p=thirdparty%2Fknot-resolver.git daemon/main.c: send READY notification only on Linux --- diff --git a/daemon/main.c b/daemon/main.c index b1d76cfd1..c65817665 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -192,10 +192,10 @@ static int run_worker(uv_loop_t *loop, struct args *args) uv_listen((uv_stream_t *)pipe, 16, io_tty_accept); } - /* Notify supervisor. */ + /* Notify the supervisor only on Linux platform */ #if ENABLE_LIBSYSTEMD sd_notify(0, "READY=1"); -#else +#elif __linux__ notify_ready("READY=1"); #endif /* Run event loop */