Changeset 73204 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jul 18, 2018 2:19:21 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/CloudUserProfileManagerImpl.cpp
r73177 r73204 138 138 .append("config"); 139 139 LogRel(("config = %s\n", strConfigPath.c_str())); 140 hrc = ptrOCIUserProfileList->readProfiles(strConfigPath); 141 if (SUCCEEDED(hrc)) 140 if (RTFileExists(strConfigPath.c_str())) 142 141 { 143 LogRel(("Reading profiles from %s has been done\n", strConfigPath.c_str())); 142 hrc = ptrOCIUserProfileList->readProfiles(strConfigPath); 143 if (SUCCEEDED(hrc)) 144 { 145 LogRel(("Reading profiles from %s has been done\n", strConfigPath.c_str())); 146 } 147 else 148 { 149 LogRel(("Reading profiles from %s hasn't been done\n", strConfigPath.c_str())); 150 } 151 152 ptrCloudUserProfileList = ptrOCIUserProfileList; 153 hrc = ptrCloudUserProfileList.queryInterfaceTo(aProfiles.asOutParam()); 144 154 } 145 155 else 146 156 { 147 LogRel(("Reading profiles from %s hasn't been done\n", strConfigPath.c_str())); 157 hrc = setError(VERR_FILE_NOT_FOUND, tr("Could not locate the config file '%s'"), 158 strConfigPath.c_str()); 148 159 } 149 ptrCloudUserProfileList = ptrOCIUserProfileList;150 hrc = ptrCloudUserProfileList.queryInterfaceTo(aProfiles.asOutParam());151 160 } 152 161 else
Note:
See TracChangeset
for help on using the changeset viewer.