VirtualBox

Changeset 23653 in vbox for trunk/src


Ignore:
Timestamp:
Oct 9, 2009 3:36:16 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53363
Message:

VBoxService: VBoxServiceWritePropF logs errors, so drop the double error logging.

File:
1 edited

Legend:

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

    r23634 r23653  
    137137    void   *pvBuf = NULL;
    138138    int     rc;
     139
    139140    *ppszValue = NULL;
    140141
     
    199200        break; /* done */
    200201    }
     202
    201203    RTMemFree(pvBuf);
    202204    return rc;
     
    397399                                     * Store the result in Set return value so the host knows what happend.
    398400                                     */
    399                                     rc = VBoxServiceWritePropF(g_uExecGuestPropSvcClientID,
    400                                                                "/VirtualBox/HostGuest/SysprepRet",
    401                                                                "%d", Status.iStatus);
    402                                     if (RT_FAILURE(rc))
    403                                         VBoxServiceError("Exec: Failed to write SysprepRet: rc=%Rrc\n", rc);
     401                                    VBoxServiceWritePropF(g_uExecGuestPropSvcClientID,
     402                                                          "/VirtualBox/HostGuest/SysprepRet",
     403                                                          "%d", Status.iStatus);
    404404                                }
    405405                                else
     
    443443             */
    444444            if (rc != VERR_NOT_FOUND)
    445             {
    446                 rc = VBoxServiceWritePropF(g_uExecGuestPropSvcClientID, "/VirtualBox/HostGuest/SysprepVBoxRC", "%d", rc);
    447                 if (RT_FAILURE(rc))
    448                     VBoxServiceError("Exec: Failed to write SysprepVBoxRC: rc=%Rrc\n", rc);
    449             }
     445                VBoxServiceWritePropF(g_uExecGuestPropSvcClientID, "/VirtualBox/HostGuest/SysprepVBoxRC", "%d", rc);
    450446        }
    451447
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette