From: Jonathan McDowell Date: Thu, 31 Mar 2011 23:55:39 +0000 (-0700) Subject: Log when we're doing a clean keyd shutdown X-Git-Tag: 0.4.0~18 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=42b31d8b0484bc910063db83bb1d2e4ba3e4ec9d;p=onak.git Log when we're doing a clean keyd shutdown If keyd receives a quit message it will cleanly shutdown; log this fact so it's obvious that was the reason for exiting. --- diff --git a/keyd.c b/keyd.c index ccc4750..ebf142c 100644 --- a/keyd.c +++ b/keyd.c @@ -335,6 +335,8 @@ int sock_do(int fd) case KEYD_CMD_QUIT: cmd = KEYD_REPLY_OK; write(fd, &cmd, sizeof(cmd)); + logthing(LOGTHING_NOTICE, + "Exiting due to quit request."); ret = 1; trytocleanup(); break;