Commit dfa287b9 authored by Tobias Wich's avatar Tobias Wich
Browse files

Correct invalid loop condition

parent 25f3a93a
......@@ -89,7 +89,7 @@ public class PCSCFactory implements org.openecard.common.ifd.scio.TerminalFactor
LOG.error("Failed to initialize smartcard system.", ex);
if (isNoServiceException(ex)) {
new Thread(() -> {
while (initLock.isDone()) {
while (! initLock.isDone()) {
try {
LOG.debug("Trying to initialize PCSC subsystem again.");
reloadPCSCInt();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment