compositor: return failure even if SEGV handler works v2
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 <6c0263d81461c956d504307112a4ce25eaacc3d1@gmail.com>

Gnurou/weston,kwm81/weston,sir-murray/weston,udoprog/weston,Fantu/compositor-spice,giucam/weston,Gnurou/weston,krezovic/weston,giucam/weston,Tarnyko/weston-xdg_surface_present,udoprog/weston,jonnylamb/weston,mchalupa/weston,eyolfson/weston,xorgy/weston,xorgy/weston,mchalupa/weston,sir-murray/weston,Tarnyko/weston-xdg_surface_present,Fantu/compositor-spice,Fantu/compositor-spice,eyolfson/weston,kwm81/weston,jonnylamb/weston,krezovic/weston