VirtualBox

Changeset 37767 in vbox


Ignore:
Timestamp:
Jul 4, 2011 2:20:42 PM (14 years ago)
Author:
vboxsync
Message:

Main/ExtPack: better error message on uninstall if a bogus extpack name was passed

File:
1 edited

Legend:

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

    r37354 r37767  
    24462446    else
    24472447    {
     2448        /*
     2449         * Do this check here, otherwise VBoxExtPackCalcDir() will fail with a strange
     2450         * error.
     2451         */
     2452        bool fValid = VBoxExtPackIsValidName(a_pszName);
     2453        if (!fValid)
     2454            return setError(E_FAIL, "Invalid extension pack name specified");
     2455
    24482456        /*
    24492457         * Does the dir exist?  Make some special effort to deal with case
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