compositor: return failure even if SEGV handler works v2
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 8 Jun 2012 14:27:28 +0000 (17:27 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Jun 2012 16:52:18 +0000 (12:52 -0400)
commit3ab7269a9b6233b972b5288d35c912cd4c722235
tree71af60128f65dddafeada9a3bb96ae20439dcad5
parent1e51a87f13b24159cafb22f3441f1560ce5675d3
compositor: return failure even if SEGV handler works v2

Weston has a SIGSEGV handler that attempts to shut everything down
cleanly. If it actually succeeds in that, the process exit status will
indicate success, when the process just segfaulted.

Fix that by setting the return value to failure in the SEGV handler.

v2: use a local instead of a global variable

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c