Preserve wine return status.

This commit is contained in:
Eric Lammerts 2001-09-10 23:02:02 +00:00 committed by Alexandre Julliard
parent c60bc0c9a5
commit 38909c5900
1 changed files with 6 additions and 0 deletions

View File

@ -530,3 +530,9 @@ fi
clean_up_info_message
# killed by signal?
if [ $wine_return -ge 128 ]; then
# try to kill myself with the same signal
kill -$[wine_return - 128] $$
# if we get here the kill didn't work
exit 1