VirtualBox

Changeset 33084 in vbox


Ignore:
Timestamp:
Oct 12, 2010 8:32:09 PM (14 years ago)
Author:
vboxsync
Message:

Frontends/VBoxManage: fix error handling code path in clonehd

File:
1 edited

Legend:

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

    r32718 r33084  
    670670                                                  srcDisk.asOutParam()));
    671671        }
    672         if (SUCCEEDED(rc))
     672        else if (SUCCEEDED(rc))
    673673            fSrcUnknown = true;
     674        else
     675        {
     676            com::GluePrintRCMessage(rc);
     677            return 1;
     678        }
    674679    }
    675680
    676681    do
    677682    {
    678         if (!SUCCEEDED(rc))
    679             break;
    680 
    681683        /* open/create destination hard disk */
    682684        if (fExisting)
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