diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/wrapped/wrappedlibc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index e5fcad01..2eead1f2 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -2836,6 +2836,7 @@ EXPORT void my_exit(x64emu_t* emu, int code) emu->quitonexit = 2; return; } + emu->quit = 1; exit(code); } |