mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
EOF has to be checked
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13296 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
c74f649f02
commit
c1fcd050da
1 file changed
+1
-1
@@ -554,7 +554,7 @@ public abstract class ProcessTreeKiller {
|
||||
as.seek(to64(p));
|
||||
ByteArrayOutputStream buf = new ByteArrayOutputStream();
|
||||
int ch,i=0;
|
||||
while((ch=as.read())!=0) {
|
||||
while((ch=as.read())>0) {
|
||||
if((++i)%100==0 && LOGGER.isLoggable(FINEST))
|
||||
LOGGER.finest("env["+n+"] is so far "+buf.toString());
|
||||
|
||||
|
||||
Reference in new issue
Block a user