Fixed preloader_exec.

This commit is contained in:
Christian Costa 2004-05-30 03:10:15 +00:00 committed by Alexandre Julliard
parent cb0dc5cdf6
commit 4b588d132d
1 changed files with 1 additions and 2 deletions

View File

@ -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) */