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)
|
if (procId == -1)
|
||||||
{
|
{
|
||||||
Thread.sleep(torRetryWaitTimeMS);
|
Thread.sleep(torRetryWaitTimeMS);
|
||||||
procId = TorServiceUtils.findProcessId(fileTorLink.getAbsolutePath());
|
procId = TorServiceUtils.findProcessId(fileTorOrig.getAbsolutePath());
|
||||||
attempts++;
|
attempts++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -833,7 +833,6 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
attempts++;
|
attempts++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
logNotice(log.toString());
|
logNotice(log.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue