VirtualBox

Changeset 24820 in vbox for trunk/src/VBox/Main/xpcom


Ignore:
Timestamp:
Nov 20, 2009 12:29:24 PM (15 years ago)
Author:
vboxsync
Message:

xpcom/server.cpp: quick cleanup

File:
1 edited

Legend:

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

    r23973 r24820  
    748748    {
    749749        { "automate",       no_argument,        NULL, 'a' },
    750 # if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
     750#if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
    751751        { "auto-shutdown",  no_argument,        NULL, 'A' },
    752752#endif
    753753        { "daemonize",      no_argument,        NULL, 'd' },
    754754        { "pidfile",        required_argument,  NULL, 'p' },
    755 # if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
     755#if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
    756756        { "pipe",           required_argument,  NULL, 'P' },
    757757#endif
     
    829829    NOREF(fDaemonize);
    830830
    831 #else // ifdef RT_OS_OS2
     831#else // !RT_OS_OS2
    832832
    833833    if (fDaemonize)
     
    937937        apszArgs[i++] = NULL; Assert(i <= RT_ELEMENTS(apszArgs));
    938938        execv (apszArgs[0], (char * const *)apszArgs);
    939         exit (0);
     939        exit (126);
    940940# endif
    941941    }
    942942
    943 #endif // ifdef RT_OS_OS2
     943#endif // !RT_OS_OS2
    944944
    945945    /*
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