BUG: GetErrorString should return ErrorMessage buffer, not the pipe buffer.
This commit is contained in:
parent
75ce40f4d6
commit
5ffb75bc6c
|
@ -263,7 +263,7 @@ const char* kwsysProcess_GetErrorString(kwsysProcess* cp)
|
|||
{
|
||||
if(cp->State == kwsysProcess_State_Error)
|
||||
{
|
||||
return cp->PipeBuffer;
|
||||
return cp->ErrorMessage;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue