Steve Grubb points out: "In tools/ck-history.cm, line 238 the value of etype is checked to see if its not equal to CK_LOG_EVENT_SEAT_SESSION_REMOVED. In that case, aren't the other checks of etype unneeded since they by definition are not CK_LOG_EVENT_SEAT_SESSION_REMOVED? I suspect that the != should be a ==."
http://cgit.freedesktop.org/ConsoleKit/tree/tools/ck-history.c?id=0.3.1#n238
commit 3afb5dc9c0a8ee8e1259fea6bd4b6d5fdede2d5f Author: William Jon McCann <jmccann@redhat.com> Date: Mon Sep 14 16:08:16 2009 -0400 fix logic for finding session remove events The logic is supposed to find any type of removal event. This can be one of CK_LOG_EVENT_SEAT_SESSION_REMOVED, CK_LOG_EVENT_SYSTEM_START, CK_LOG_EVENT_SYSTEM_STOP, or CK_LOG_EVENT_SYSTEM_RESTART. This is used to determine if the removal was normal or RECORD_STATUS_CRASH, or RECORD_STATUS_DOWN. And indicated in the report log as something like: "Thu Sep 3 21:28 - down (20:20)"
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.