VirtualBox

Changeset 23029 in vbox


Ignore:
Timestamp:
Sep 15, 2009 11:52:38 AM (15 years ago)
Author:
vboxsync
Message:

VBoxService: Notice when manually starting VBoxService in daemonized mode; spelling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r22744 r23029  
    402402     */
    403403    bool fDaemonize = true;
    404     bool fDaemonzied = false;
     404    bool fDaemonized = false;
    405405    for (int i = 1; i < argc; i++)
    406406    {
     
    433433            else if (MATCHES("daemonized"))
    434434            {
    435                 fDaemonzied = true;
     435                fDaemonized = true;
    436436                continue;
    437437            }
     
    540540     * Daemonize if requested.
    541541     */
    542     if (fDaemonize && !fDaemonzied)
     542    if (fDaemonize && !fDaemonized)
    543543    {
    544544#ifdef RT_OS_WINDOWS
     
    557557        VBoxServiceVerbose(2, "Starting service dispatcher ...\n");
    558558        if (!StartServiceCtrlDispatcher(&g_aServiceTable[0]))
    559             return VBoxServiceError("StartServiceCtrlDispatcher: %u\n", GetLastError());
     559            return VBoxServiceError("StartServiceCtrlDispatcher: %u. Please start %s with option -f (foreground)!",
     560                                    GetLastError(), g_pszProgName);
    560561        /* Service now lives in the control dispatcher registered above. */
    561562#else
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