VirtualBox

Changeset 40736 in vbox


Ignore:
Timestamp:
Apr 2, 2012 4:04:25 AM (13 years ago)
Author:
vboxsync
Message:

VBoxManage: don't sigfault. Perhaps better to handle, this in CHECK_PROGRESS_ERROR or CHECK_ERROR.

File:
1 edited

Legend:

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

    r40503 r40736  
    564564            else if (rc == VBOX_E_NOT_SUPPORTED)
    565565                RTMsgError("Compact hard disk operation for this format is not implemented yet!");
     566            else if (!progress.isNull())
     567                CHECK_PROGRESS_ERROR(progress, ("Failed to compact hard disk"));
    566568            else
    567                 CHECK_PROGRESS_ERROR(progress, ("Failed to compact hard disk"));
     569                RTMsgError("Failed to compact hard disk!");
    568570        }
    569571    }
Note: See TracChangeset for help on using the changeset viewer.

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