VirtualBox

Changeset 39957 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 2, 2012 2:53:43 PM (13 years ago)
Author:
vboxsync
Message:

GuestCtrl/Main: Fixed exit code hickup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r39843 r39957  
    731731            switch (pData->u32Status)
    732732            {
    733                 /* Interprete u32Flags as the guest process' exit code. */
     733                /* Just reach through flags. */
    734734                case PROC_STS_TES:
    735735                case PROC_STS_TOK:
    736736                    vrc = processSetStatus(pData->u32PID,
    737737                                           (ExecuteProcessStatus_T)pData->u32Status,
    738                                            pData->u32Flags /* Exit code. */, 0 /* Flags. */);
     738                                           0 /* Exit code. */, pData->u32Flags);
    739739                    break;
    740                 /* Just reach through flags. */
     740                /* Interprete u32Flags as the guest process' exit code. */
    741741                default:
    742742                    vrc = processSetStatus(pData->u32PID,
    743743                                           (ExecuteProcessStatus_T)pData->u32Status,
    744                                            0 /* Exit code. */, pData->u32Flags);
     744                                           pData->u32Flags /* Exit code. */, 0 /* Flags. */);
     745
    745746                    break;
    746747            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette