Attempt to fix failure to logon if smart card is inserted during system startup

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smartcardauth@1260425 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru v3.5.13
tpearson 13 years ago
parent 2be53f6862
commit 6cbb68bb10

@ -683,9 +683,9 @@ int main (int argc, char *argv[])
} }
else else
{ {
// Could not find any existing kdm sessions; start a new one // KDM is probably not running yet, as its control directory does not exist
systemexec(TRINITY_BIN_PREFIX "kdmctl -g reserve"); // Wait for 10 seconds and try again
usleep(3000000); usleep(10000000);
} }
} }

Loading…
Cancel
Save