diff --git a/buildtool.cpp b/buildtool.cpp
index 22c8dcb49fe36b6aed5643a8ab8d2b5308306b6e..1dee1044826b175af138feaf3107d1948d404849 100644 (file)
--- a/buildtool.cpp
+++ b/buildtool.cpp
int rerr = read(errfds[0], &errch, 1);
if (rerr>0)
errb.push_back(errch);
- if (rerr <=0 && rerr <=0)
+ if (rout <=0 && rerr <=0)
break;
}