Commit 4b588d13 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Fixed preloader_exec.

parent cb0dc5cd
......@@ -291,10 +291,9 @@ static void preloader_exec( char **argv, char **envp, int use_preloader )
free( full_name );
return;
}
#else
#endif
if (envp) execve( argv[0], argv, envp );
else execv( argv[0], argv );
#endif
}
/* exec a wine internal binary (either the wine loader or the wine server) */
......
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