I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a3371858 authored by zzz's avatar zzz
Browse files

better temp dir fallback and logging

parent 9c0aa0c2
No related branches found
No related tags found
No related merge requests found
......@@ -406,9 +406,11 @@ public class I2PAppContext {
} else if (_tmpDir.mkdir()) {
_tmpDir.deleteOnExit();
} else {
System.err.println("Could not create temp dir " + _tmpDir.getAbsolutePath());
System.err.println("WARNING: Could not create temp dir " + _tmpDir.getAbsolutePath());
_tmpDir = new SecureDirectory(_routerDir, "tmp");
_tmpDir.mkdir();
_tmpDir.mkdirs();
if (!_tmpDir.exists())
System.err.println("ERROR: Could not create temp dir " + _tmpDir.getAbsolutePath());
}
}
}
......
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