summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f9917d3)
If keyd receives a quit message it will cleanly shutdown; log this
fact so it's obvious that was the reason for exiting.
case KEYD_CMD_QUIT:
cmd = KEYD_REPLY_OK;
write(fd, &cmd, sizeof(cmd));
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;
ret = 1;
trytocleanup();
break;