mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-24 04:13:25 +00:00
change perms on append too
This commit is contained in:
1 parent
8ac5d5d5fc
commit
373fce2988
2 files changed
+5
-4
No files matched your search
@@ -1,10 +1,11 @@
|
||||
package net.i2p.router;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintStream;
|
||||
|
||||
import net.i2p.util.SecureFileOutputStream;
|
||||
|
||||
/**
|
||||
* This is the class called by the runplain.sh script on linux
|
||||
* and the i2p.exe launcher on Windows.
|
||||
@@ -33,7 +34,7 @@ public class RouterLaunch {
|
||||
}
|
||||
System.setProperty(PROP_WRAPPER_LOG, logfile.getAbsolutePath());
|
||||
try {
|
||||
System.setOut(new PrintStream(new FileOutputStream(logfile, true)));
|
||||
System.setOut(new PrintStream(new SecureFileOutputStream(logfile, true)));
|
||||
} catch (IOException ioe) {
|
||||
ioe.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user