git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7979 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-03-23 05:43:11 +00:00
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();