VirtualBox

Ignore:
Timestamp:
Jun 23, 2009 1:38:22 PM (15 years ago)
Author:
vboxsync
Message:

VBoxManage: fixed return value of VBoxManage usbfilter fails

File:
1 edited

Legend:

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

    r19239 r20834  
    558558    if (cmd.mMachine)
    559559    {
    560         /* commit and close the session */
    561         CHECK_ERROR(cmd.mMachine, SaveSettings());
     560        if (SUCCEEDED (rc))
     561        {
     562            /* commit the session */
     563            CHECK_ERROR(cmd.mMachine, SaveSettings());
     564        }
     565        /* close the session */
    562566        a->session->Close();
    563567    }
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