Commit 5ffb75bc authored by Brad King's avatar Brad King
Browse files

BUG: GetErrorString should return ErrorMessage buffer, not the pipe buffer.

parent 75ce40f4
......@@ -263,7 +263,7 @@ const char* kwsysProcess_GetErrorString(kwsysProcess* cp)
{
if(cp->State == kwsysProcess_State_Error)
{
return cp->PipeBuffer;
return cp->ErrorMessage;
}
return 0;
}
......
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