summaryrefslogtreecommitdiffstats
path: root/src/userlist.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-05-14 10:29:47 +0200
committerSimon Rettberg2019-05-14 10:29:47 +0200
commitc08365be03214ef1b5704c487bccaa6f9d211c57 (patch)
tree616822dcaef8ef3e23dbcf6d55e6a2c949a18bf0 /src/userlist.h
parentProperly cap sleep after RPC call (diff)
downloadidle-daemon-c08365be03214ef1b5704c487bccaa6f9d211c57.tar.gz
idle-daemon-c08365be03214ef1b5704c487bccaa6f9d211c57.tar.xz
idle-daemon-c08365be03214ef1b5704c487bccaa6f9d211c57.zip
Retry loginctl show-session
Sometimes we try to query a session too soon after login. The session is already present in utmp, but not known to logind yet. Retry for those cases.
Diffstat (limited to 'src/userlist.h')
-rw-r--r--src/userlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/userlist.h b/src/userlist.h
index c0ffc2f..ca7a70b 100644
--- a/src/userlist.h
+++ b/src/userlist.h
@@ -17,6 +17,7 @@ struct user {
int lastWarnLevel;
int lastActivityOffset;
int lockTimeOffset;
+ int loginctlFails;
bool mark;
bool isLocked;
char user[STRLEN];