diff --git a/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java b/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java index b57c87d01dda65792ce2b53767588df05743d039..07160440c3dc10e81378e9aca5789a8f56f3621a 100644 --- a/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java +++ b/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java @@ -235,8 +235,6 @@ class TorPlugin implements DuplexPlugin, EventHandler { LOG.warning("Could not make Tor executable"); return false; } - // Create a file to indicate that installation succeeded - doneFile.createNewFile(); return true; } catch(IOException e) { if(LOG.isLoggable(WARNING)) LOG.log(WARNING, e.toString(), e); @@ -247,7 +245,7 @@ class TorPlugin implements DuplexPlugin, EventHandler { } private boolean isConfigInstalled() { - return doneFile.exists(); + return geoIpFile.exists() && configFile.exists() && doneFile.exists(); } private boolean installConfig() {