diff --git a/tools/winelauncher.in b/tools/winelauncher.in index 4cbaa3ac3bf..a2812575fab 100755 --- a/tools/winelauncher.in +++ b/tools/winelauncher.in @@ -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