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

Verified Commit 18db2e0f authored by idk's avatar idk
Browse files

backport ShellService fix

parent 619c36d1
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment