]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- fast-reload, print ok when done successfully.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Mar 2024 12:37:48 +0000 (13:37 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Mar 2024 12:37:48 +0000 (13:37 +0100)
daemon/remote.c

index 7a82b3e3cfb9d8c92897b6eccc94d14bbf87013d..9e0034b6c79036e246aa948d0814c6797a221258 100644 (file)
@@ -4319,6 +4319,10 @@ static void* fast_reload_thread_main(void* arg)
        if(fr_poll_for_quit(fast_reload_thread))
                goto done;
 
+       if(!fr_output_printf(fast_reload_thread, "ok\n"))
+               goto done_error;
+       fr_send_notification(fast_reload_thread,
+               fast_reload_notification_printout);
        verbose(VERB_ALGO, "stop fast reload thread");
        /* If this is not an exit due to quit earlier, send regular done. */
        if(!fast_reload_thread->need_to_quit)