Skip to content
Snippets Groups Projects
Commit 6a0e7f8a authored by akwizgran's avatar akwizgran
Browse files

Tor config was not being installed for fresh installs.

parent 839f67dd
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment