aboutsummaryrefslogtreecommitdiffstats
path: root/src/ArgParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ArgParser.java')
-rw-r--r--src/ArgParser.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ArgParser.java b/src/ArgParser.java
index 495e07c..728e63c 100644
--- a/src/ArgParser.java
+++ b/src/ArgParser.java
@@ -472,8 +472,7 @@ public class ArgParser
for (String line : lines)
{ if (line.startsWith("PPid:"))
{
- line = line.substring(5);
- line = line.replace('\t', ' ').replace('\n', ' ').replace(" ", "");
+ line = line.substring(5).replace('\t', ' ').replace(" ", "");
pid = Integer.parseInt(line);
lvl -= 1;
continue outer;