check for both link and original path in process lookup
This commit is contained in:
parent
b48bbc1487
commit
e0a7fbb450
|
@ -765,7 +765,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
|||
if (procId == -1)
|
||||
{
|
||||
Thread.sleep(torRetryWaitTimeMS);
|
||||
procId = TorServiceUtils.findProcessId(fileTorLink.getAbsolutePath());
|
||||
procId = TorServiceUtils.findProcessId(fileTorOrig.getAbsolutePath());
|
||||
attempts++;
|
||||
}
|
||||
else
|
||||
|
@ -833,7 +833,6 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
|||
attempts++;
|
||||
}
|
||||
|
||||
|
||||
logNotice(log.toString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue