Bug#109668: wine] exit status of /usr/bin/wine always 0 (fwd)

Ove Kaaven ovek at arcticnet.no
Mon Aug 27 05:25:37 CDT 2001


Eric Lammerts <eric at lammerts.org>
Preserve wine return status.

--- tools/winelauncher.in	Sun Aug 26 23:56:44 2001
+++ tools/winelauncher.in	Mon Aug 27 00:03:58 2001
@@ -530,3 +530,9 @@

 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
+else
+	# pass on exit status
+	exit $wine_return
+fi


Eric








More information about the wine-patches mailing list