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:
parent
e613d81d81
commit
f8d42a31c6
|
@ -513,7 +513,7 @@ done:
|
|||
|
||||
failed:
|
||||
MESSAGE( "wine: cannot find %s\n", debugstr_w(name) );
|
||||
RtlExitUserProcess( GetLastError() );
|
||||
RtlExitUserProcess( STATUS_DLL_NOT_FOUND );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue