From e0a7fbb450c7fda5dae9a13c0e1264b96276da0d Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Sat, 28 Dec 2013 09:52:36 -0500 Subject: [PATCH] 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 dbad1bea..1167d4ee 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()); }