Commit 4fc5d887 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

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

parent 92847874
......@@ -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;
}
......
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