Ticket #8121: 8121-23575_mythsystem.patch

File 8121-23575_mythsystem.patch, 685 bytes (added by Jeff Lu <jll544@…>, 10 years ago)
  • libs/libmythui/mythsystem.cpp

     
    189189    {
    190190        VERBOSE(VB_IMPORTANT, (LOC_ERR + "CreateProcess() failed because %1")
    191191                .arg(::GetLastError()));
    192         return MYTHSYSTEM__EXIT__EXECL_ERROR;
     192        result = MYTHSYSTEM__EXIT__EXECL_ERROR;
    193193    }
    194194    else
    195195    {
     
    204204                    .arg(::GetLastError()));
    205205        CloseHandle(pi.hProcess);
    206206        CloseHandle(pi.hThread);
    207         return exitcode;
     207        result = exitcode;
    208208    }
    209209#endif
    210210