Commit 7eaa964e authored by Matthias Männich's avatar Matthias Männich
Browse files

cmProcessTools: fix minor issue introduced by 595feb32

parent 85a7eaba
......@@ -38,7 +38,7 @@ void cmProcessTools::RunProcess(struct cmsysProcess_s* cp, OutputParser* out,
if (err) {
processOutput.DecodeText(std::string(), strdata, 2);
if (!strdata.empty()) {
out->Process(strdata.c_str(), int(strdata.size()));
err->Process(strdata.c_str(), int(strdata.size()));
cmsysProcess_WaitForExit(cp, nullptr);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment