From c08365be03214ef1b5704c487bccaa6f9d211c57 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 14 May 2019 10:29:47 +0200 Subject: 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. --- src/userlist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/userlist.h') 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]; -- cgit v1.2.3-55-g7522