mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 12:51:03 +00:00
Fix error code for linux programs failing to run
This commit is contained in:
@@ -979,7 +979,7 @@ rdcpair<RDResult, uint32_t> Process::LaunchAndInjectIntoProcess(
|
||||
RDResult result;
|
||||
if(ret == 0)
|
||||
{
|
||||
SET_ERROR_RESULT(result, ResultCode::InvalidParameter,
|
||||
SET_ERROR_RESULT(result, ResultCode::InjectionFailed,
|
||||
"Couldn't connect to target program. Check that it didn't crash or exit "
|
||||
"during early initialisation, e.g. due to an incorrectly configured working "
|
||||
"directory.");
|
||||
|
||||
Reference in New Issue
Block a user