From 38909c59002b0429aaa957c356d7e1081f0bc257 Mon Sep 17 00:00:00 2001 From: Eric Lammerts Date: Mon, 10 Sep 2001 23:02:02 +0000 Subject: [PATCH] Preserve wine return status. --- tools/winelauncher.in | 6 ++++++ 1 file changed, 6 insertions(+) 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