VirtualBox

Changeset 77496 in vbox


Ignore:
Timestamp:
Feb 28, 2019 9:21:24 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129088
Message:

Guest Control/Main: Added exit code handling for VBOXSERVICE_TOOL_MKTEMP + VBOXSERVICE_TOOL_RM in GuestProcessTool::exitCodeToRc().

File:
1 edited

Legend:

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

    r77093 r77496  
    25422542        }
    25432543    }
     2544    else if (!RTStrICmp(pszTool, VBOXSERVICE_TOOL_MKTEMP))
     2545    {
     2546        switch (iExitCode)
     2547        {
     2548            case RTEXITCODE_FAILURE: return VERR_CANT_CREATE;
     2549            default:                 break;
     2550        }
     2551    }
     2552    else if (!RTStrICmp(pszTool, VBOXSERVICE_TOOL_RM))
     2553    {
     2554        switch (iExitCode)
     2555        {
     2556            case RTEXITCODE_FAILURE: return VERR_ACCESS_DENIED;
     2557            default:                 break;
     2558        }
     2559    }
    25442560
    25452561    LogFunc(("Warning: Exit code %d not handled for tool '%s', returning VERR_GENERAL_FAILURE\n", iExitCode, pszTool));
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