Changeset 35241 in vbox
- Timestamp:
- Dec 20, 2010 1:14:55 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69088
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r35239 r35241 397 397 rc = findMedium(a, pszMedium, deviceType, true /* fSilent */, 398 398 pExistingMedium); 399 if ( pExistingMedium)399 if (SUCCEEDED(rc) && pExistingMedium) 400 400 { 401 401 if ( (deviceType == DeviceType_DVD) … … 545 545 rc = findOrOpenMedium(a, pszMedium, devTypeRequested, 546 546 pMedium2Mount, NULL); 547 if ( !pMedium2Mount)547 if (FAILED(rc) || !pMedium2Mount) 548 548 throw Utf8StrFmt("Invalid UUID or filename \"%s\"", pszMedium); 549 549 }
Note:
See TracChangeset
for help on using the changeset viewer.