]> the.earth.li Git - onak.git/commitdiff
Add a log entry for when keyd cleanly exits
authorJonathan McDowell <noodles@earth.li>
Fri, 15 Sep 2023 05:18:51 +0000 (10:48 +0530)
committerJonathan McDowell <noodles@earth.li>
Fri, 15 Sep 2023 05:18:51 +0000 (10:48 +0530)
We currently log when we're trying to shut down, but not when we've
actually done so successfully. Add a log message when we're definitely
exiting.

keydb/keyd.c

index ff02116d239a28d62762cfa4b30f3b9f50455611..2628b74653f0b38b5475573f34b5131e23160957 100644 (file)
@@ -741,6 +741,7 @@ int main(int argc, char *argv[])
 
        free(stats);
 
+       logthing(LOGTHING_NOTICE, "Exiting");
        cleanuplogthing();
        cleanupconfig();