Changeset 75095 in vbox
- Timestamp:
- Oct 26, 2018 12:35:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r73040 r75095 1810 1810 { 1811 1811 rc = directoryCreate(strDstAbs.c_str(), DirectoryCreateFlag_None, fDirMode, fFollowSymlinks); 1812 if ( rc == VERR_ALREADY_EXISTS 1813 && !fCopyIntoExisting) 1812 if (RT_FAILURE(rc)) 1814 1813 { 1815 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 1816 Utf8StrFmt(GuestSession::tr("Destination directory \"%s\" already exists"), 1817 strDstAbs.c_str())); 1818 break; 1814 if (rc == VERR_ALREADY_EXISTS) 1815 { 1816 if (!fCopyIntoExisting) 1817 { 1818 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 1819 Utf8StrFmt(GuestSession::tr("Destination directory '%s' already exists"), 1820 strDstAbs.c_str())); 1821 } 1822 else /* Copy into destination directory. */ 1823 rc = VINF_SUCCESS; 1824 } 1819 1825 } 1820 1826 }
Note:
See TracChangeset
for help on using the changeset viewer.