mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7979 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
baa6c9d6ba
commit
b48ce888af
1 file changed
+4
-2
@@ -385,8 +385,10 @@ public abstract class ProcessTreeKiller {
|
||||
String line;
|
||||
while((line=r.readLine())!=null) {
|
||||
line=line.toLowerCase(Locale.ENGLISH);
|
||||
if(line.startsWith("ppid:"))
|
||||
ppid = Integer.parseInt(line.substring(4).trim());
|
||||
if(line.startsWith("ppid:")) {
|
||||
ppid = Integer.parseInt(line.substring(5).trim());
|
||||
break;
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
r.close();
|
||||
|
||||
Reference in new issue
Block a user