diff options
author | Ron Yorston <rmy@pobox.com> | 2012-05-04 10:46:02 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-05-04 10:46:02 +0100 |
commit | 0c9c04defd7b21aab1f18eaabd2f461b6a425964 (patch) | |
tree | 818b33fde996cb1c4b78336edd0d9f9c7ce73907 | |
parent | 0d6ddf59775b4e1e3a1f5e78490c5c2acf46a986 (diff) | |
download | busybox-w32-0c9c04defd7b21aab1f18eaabd2f461b6a425964.tar.gz busybox-w32-0c9c04defd7b21aab1f18eaabd2f461b6a425964.tar.bz2 busybox-w32-0c9c04defd7b21aab1f18eaabd2f461b6a425964.zip |
mingw32: make system return wait status, not exit code
-rw-r--r-- | win32/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/system.c b/win32/system.c index 5a56173ec..c3e2c316e 100644 --- a/win32/system.c +++ b/win32/system.c | |||
@@ -73,5 +73,5 @@ int mingw_system(const char *cmd) | |||
73 | CloseHandle(piProcInfo.hProcess); | 73 | CloseHandle(piProcInfo.hProcess); |
74 | CloseHandle(piProcInfo.hThread); | 74 | CloseHandle(piProcInfo.hThread); |
75 | 75 | ||
76 | return WEXITSTATUS(ret); | 76 | return ret; |
77 | } | 77 | } |