ntdll: Set a better exit status when the main image fails to load.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49593
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-07-21 15:23:28 +02:00
parent e613d81d81
commit f8d42a31c6
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ done:
failed:
MESSAGE( "wine: cannot find %s\n", debugstr_w(name) );
RtlExitUserProcess( GetLastError() );
RtlExitUserProcess( STATUS_DLL_NOT_FOUND );
}