summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtool.cpp b/buildtool.cpp
index 22c8dcb49..1dee10448 100644
--- a/buildtool.cpp
+++ b/buildtool.cpp
@@ -4129,7 +4129,7 @@ bool MakeBase::executeCommand(const String &command,
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;
}