commit e0a7fbb450c7fda5dae9a13c0e1264b96276da0d Author: Nathan Freitas nathan@freitas.net Date: Sat Dec 28 09:52:36 2013 -0500
check for both link and original path in process lookup --- src/org/torproject/android/service/TorService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index dbad1be..1167d4e 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -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()); }