Document complex if query

[ci skip]
This commit is contained in:
TheAssassin
2018-10-25 15:33:07 +02:00
parent f1690cc2a3
commit 0de7caa8ee

View File

@@ -42,6 +42,7 @@ namespace linuxdeploy {
std::copy(buf.begin(), buf.begin() + size, std::back_inserter(outBuf));
}
// make sure process exited and all data has been read from stdout and stderr
if (proc.poll() >= 0 && feof(proc.output()) != 0 && feof(proc.error()) != 0)
break;
}