Changeset 107674 in vbox
- Timestamp:
- Jan 10, 2025 3:50:53 PM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 166766
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r107666 r107674 1694 1694 1695 1695 bool fCopyIntoExisting; 1696 bool fFollowSymlinks;1697 1698 1696 if (pList->mSourceSpec.enmType == FsObjType_Directory) 1699 {1700 1697 fCopyIntoExisting = RT_BOOL(pList->mSourceSpec.fDirCopyFlags & DirectoryCopyFlag_CopyIntoExisting); 1701 fFollowSymlinks = RT_BOOL(pList->mSourceSpec.fDirCopyFlags & DirectoryCopyFlag_FollowLinks);1702 }1703 1698 else if (pList->mSourceSpec.enmType == FsObjType_File) 1704 {1705 1699 fCopyIntoExisting = !RT_BOOL(pList->mSourceSpec.fFileCopyFlags & FileCopyFlag_NoReplace); 1706 fFollowSymlinks = RT_BOOL(pList->mSourceSpec.fFileCopyFlags & FileCopyFlag_FollowLinks);1707 }1708 1700 else 1709 1701 AssertFailedBreakStmt(vrc = VERR_NOT_IMPLEMENTED); … … 1754 1746 { 1755 1747 LogFlowFunc(("Directory: fDirCopyFlags=%#x, fCopyIntoExisting=%RTbool, fFollowSymlinks=%RTbool -> fDstExist=%RTbool (%s)\n", 1756 pList->mSourceSpec.fDirCopyFlags, fCopyIntoExisting, fFollowSymlinks,1748 pList->mSourceSpec.fDirCopyFlags, fCopyIntoExisting, 1757 1749 fDstExists, GuestBase::fsObjTypeToStr(GuestBase::fileModeToFsObjType(dstFsObjInfo.Attr.fMode)))); 1758 1750 … … 1872 1864 { 1873 1865 LogFlowFunc(("File: fFileCopyFlags=%#x, fCopyIntoExisting=%RTbool, fFollowSymlinks=%RTbool -> fDstExist=%RTbool (%s)\n", 1874 pList->mSourceSpec.fFileCopyFlags, fCopyIntoExisting, fFollowSymlinks,1866 pList->mSourceSpec.fFileCopyFlags, fCopyIntoExisting, 1875 1867 fDstExists, GuestBase::fsObjTypeToStr(GuestBase::fileModeToFsObjType(dstFsObjInfo.Attr.fMode)))); 1876 1868 … … 2813 2805 { 2814 2806 int vrc = VINF_SUCCESS; 2815 HRESULT hrc;2816 2807 2817 2808 if (osType == eOSType_Linux) … … 2839 2830 vrc = runFileOnGuest(pSession, procInfo, true /* fSilent */); 2840 2831 if (RT_FAILURE(vrc)) 2841 hrc =setUpdateErrorMsg(VBOX_E_GSTCTL_GUEST_ERROR,2842 2843 2832 setUpdateErrorMsg(VBOX_E_GSTCTL_GUEST_ERROR, 2833 Utf8StrFmt(tr("Files were installed, but user services were not reloaded automatically. " 2834 "Please consider rebooting the guest"))); 2844 2835 } 2845 2836 else 2846 hrc =setUpdateErrorMsg(VBOX_E_GSTCTL_GUEST_ERROR,2847 2848 2837 setUpdateErrorMsg(VBOX_E_GSTCTL_GUEST_ERROR, 2838 Utf8StrFmt(tr("Files were installed, but kernel modules were not reloaded automatically. " 2839 "Please consider rebooting the guest"))); 2849 2840 } 2850 2841
Note:
See TracChangeset
for help on using the changeset viewer.