Commit c126716a authored by Ralf Habacker's avatar Ralf Habacker

Merge branch 'dbus-1.10'

parents 5ef8b4dc 7bcaf35b
......@@ -603,16 +603,20 @@ babysitter (void *parameter)
{
int ret = 0;
DBusBabysitter *sitter = (DBusBabysitter *) parameter;
HANDLE handle;
PING();
_dbus_verbose ("babysitter: spawning %s\n", sitter->log_name);
PING();
sitter->child_handle = spawn_program (sitter->log_name,
sitter->argv, sitter->envp);
handle = spawn_program (sitter->log_name, sitter->argv, sitter->envp);
PING();
if (sitter->child_handle == (HANDLE) -1)
if (handle != INVALID_HANDLE_VALUE)
{
sitter->child_handle = handle;
}
else
{
sitter->child_handle = NULL;
sitter->have_spawn_errno = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment