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

Skip to content
Snippets Groups Projects
Verified Commit 18db2e0f authored by idk's avatar idk
Browse files

backport ShellService fix

parent 619c36d1
No related branches found
Tags i2p-0.9.49
No related merge requests found
......@@ -253,7 +253,7 @@ public class ShellService implements ClientApp {
buf.write((byte) result);
}
String pidString = buf.toString("UTF-8").replaceAll("[\\r\\n\\t ]", "");
long pid = _pid;
long pid = Long.parseLong(pidString);
if (_log.shouldLog(Log.DEBUG))
_log.debug("Found " + getName() + "process with PID: " + pid);
return pid;
......
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