diff --git a/Source/CTest/cmCTestGIT.cxx b/Source/CTest/cmCTestGIT.cxx index 156a938ea..f5ba36120 100644 --- a/Source/CTest/cmCTestGIT.cxx +++ b/Source/CTest/cmCTestGIT.cxx @@ -119,7 +119,7 @@ bool cmCTestGIT::UpdateImpl() char const* git_submodule[] = {git, "submodule", "update", 0}; OutputLogger out2(this->Log, "submodule-out> "); OutputLogger err2(this->Log, "submodule-err> "); - return this->RunChild(git_submodule, &out, &err); + return this->RunChild(git_submodule, &out2, &err2); } return false; }