diff options
author | Simon Rettberg | 2019-05-14 10:29:47 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-05-14 10:29:47 +0200 |
commit | c08365be03214ef1b5704c487bccaa6f9d211c57 (patch) | |
tree | 616822dcaef8ef3e23dbcf6d55e6a2c949a18bf0 /src/userlist.h | |
parent | Properly cap sleep after RPC call (diff) | |
download | idle-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.h | 1 |
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]; |