VirtualBox

Ignore:
Timestamp:
Dec 11, 2018 9:01:30 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127399
Message:

Main: bugref:9324: Added new error for "medium shrink is not allowed"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r74829 r76154  
    765765        if (FAILED(rc))
    766766        {
    767             if (rc == E_NOTIMPL)
     767            if (!pProgress.isNull())
     768                CHECK_PROGRESS_ERROR(pProgress, ("Failed to resize medium"));
     769            else if (rc == E_NOTIMPL)
    768770                RTMsgError("Resize medium operation is not implemented!");
    769771            else if (rc == VBOX_E_NOT_SUPPORTED)
    770772                RTMsgError("Resize medium operation for this format is not implemented yet!");
    771             else if (!pProgress.isNull())
    772                 CHECK_PROGRESS_ERROR(pProgress, ("Failed to resize medium"));
    773773            else
    774774                RTMsgError("Failed to resize medium!");
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette