VirtualBox

Changeset 97113 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Oct 12, 2022 1:55:52 PM (2 years ago)
Author:
vboxsync
Message:

Main/ExtPack: Attempting to uninstall an extension pack which doesn't
exist should be caught and flagged as an error. Otherwise API clients
like 'VBoxManage extpack uninstall' report 'successfully uninstalled'
when a non-existent extension pack is specified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp

    r96407 r97113  
    33293329            }
    33303330        }
     3331        else if (SUCCEEDED(hrc) && !pExtPack)
     3332        {
     3333            hrc = setError(E_FAIL, tr("Extension pack '%s' is not installed.\n"), a_pstrName->c_str());
     3334        }
    33313335
    33323336        /*
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