VirtualBox

Changeset 42388 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 25, 2012 11:56:53 AM (12 years ago)
Author:
vboxsync
Message:

Main/SystemProperties: Fix setting the autostart database path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp

    r42195 r42388  
    11801180    {
    11811181        int vrc = autostartDb->setAutostartDbPath(NULL);
    1182         /* AssertRC(vrc); - VERR_NOT_IMPLEMENTED on Mac OS X and thus strict builds crashes. */
    1183         m->strAutostartDatabasePath = "";
     1182        if (RT_SUCCESS(vrc))
     1183            m->strAutostartDatabasePath = "";
     1184        else
     1185            rc = setError(E_FAIL,
     1186                          tr("Deleting the autostart database path failed (%Rrc)"),
     1187                          vrc);
    11841188    }
    11851189
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