VirtualBox

Ignore:
Timestamp:
Dec 20, 2011 10:36:53 AM (13 years ago)
Author:
vboxsync
Message:

GuestControl: Bugfixes, logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r39582 r39659  
    11031103
    11041104    bool fDirExists;
    1105     if (ctrlCopyDirExists(pContext, pContext->fHostToGuest, pszDir, &fDirExists))
     1105    int rc = ctrlCopyDirExists(pContext, pContext->fHostToGuest, pszDir, &fDirExists);
     1106    if (   RT_SUCCESS(rc)
     1107        && fDirExists)
    11061108    {
    11071109        if (pContext->fVerbose)
     
    11161118        return VINF_SUCCESS;
    11171119
    1118     int rc = VINF_SUCCESS;
    11191120    if (pContext->fHostToGuest) /* We want to create directories on the guest. */
    11201121    {
     
    11271128    else /* ... or on the host. */
    11281129    {
    1129         rc = RTDirCreateFullPath(pszDir, 700);
     1130        rc = RTDirCreateFullPath(pszDir, 0700);
    11301131        if (rc == VERR_ALREADY_EXISTS)
    11311132            rc = VINF_SUCCESS;
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