server: Do not shutdown server in persistent mode when creation of first process fails.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2017-06-18 01:54:16 +02:00 committed by Alexandre Julliard
parent 92847874b2
commit 4fc5d8873c
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ struct thread *create_process( int fd, struct thread *parent_thread, int inherit
error:
if (process) release_object( process );
/* if we failed to start our first process, close everything down */
if (!running_processes) close_master_socket( 0 );
if (!running_processes && master_socket_timeout != TIMEOUT_INFINITE) close_master_socket( 0 );
return NULL;
}