Alexandre Julliard : ntdll: Set a better exit status when the main image fails to load.
Alexandre Julliard
julliard at winehq.org
Tue Jul 21 15:40:21 CDT 2020
Module: wine
Branch: master
Commit: f8d42a31c624f28f6c9bfd9678fb025bf15e9c12
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f8d42a31c624f28f6c9bfd9678fb025bf15e9c12
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jul 21 15:23:28 2020 +0200
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 at winehq.org>
---
dlls/ntdll/env.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
index c21e9ec5b1..06e7c1bb37 100644
--- a/dlls/ntdll/env.c
+++ b/dlls/ntdll/env.c
@@ -513,7 +513,7 @@ done:
failed:
MESSAGE( "wine: cannot find %s\n", debugstr_w(name) );
- RtlExitUserProcess( GetLastError() );
+ RtlExitUserProcess( STATUS_DLL_NOT_FOUND );
}
More information about the wine-cvs
mailing list