Changeset 97308 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Oct 26, 2022 3:44:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r96407 r97308 1692 1692 RTFSOBJINFO ObjInfo; 1693 1693 vrc = RTPathQueryInfo(szAbsDst, &ObjInfo, RTFSOBJATTRADD_NOTHING); 1694 if (RT_FAILURE(vrc)) 1695 return RTMsgErrorExitFailure(GuestCtrl::tr("RTPathQueryInfo failed on '%s': %Rrc"), szAbsDst, vrc); 1696 fDstIsDir = RTFS_IS_DIRECTORY(ObjInfo.Attr.fMode); 1694 if (RT_SUCCESS(vrc)) 1695 { 1696 fDstIsDir = RTFS_IS_DIRECTORY(ObjInfo.Attr.fMode); 1697 } 1698 else if ( RT_FAILURE(vrc) 1699 && vrc != VERR_FILE_NOT_FOUND) /* Destination file on the host might not exist yet, which is fine. */ 1700 return RTMsgErrorExitFailure(GuestCtrl::tr("RTPathQueryInfo failed on '%s': %Rrc"), szAbsDst, vrc); 1697 1701 } 1698 1702 else
Note:
See TracChangeset
for help on using the changeset viewer.