<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - weston-launch does not handle weston signal exits"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60935#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - weston-launch does not handle weston signal exits"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60935">bug 60935</a>
from <span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span></b>
<pre>Oops, I was updating the bug too fast there. That commit was never pushed and
Philip updated it to use different exit codes for weston signal exit vs
weston-launch signal exit. This is now on weston master:
commit 7a3ec74cb61c0faae18dfec3782f58b91a193801
Author: Philipp Brüschweiler <<a href="mailto:blei42@gmail.com">blei42@gmail.com</a>>
Date: Sun Mar 10 15:14:01 2013 +0100
weston-launch: return better value if weston dies because of a signal
Before this commit, weston-launch returned 0 if weston was killed by a
signal. This makes it hard to automatically test weston by using
weston-launch, as there is no way to know why weston was terminated.
This commit makes weston-launch return 10+N instead, where N is the code
of the signal that terminated weston. 10 was chosen because it allows a
script to distinguish it from the case that weston-launch itself was
killed by a signal (128+N), and does not overlap the standard exit codes
defined in sysexits.h.
Partial fix for <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - weston-launch does not handle weston signal exits"
href="show_bug.cgi?id=60935">https://bugs.freedesktop.org/show_bug.cgi?id=60935</a>. I
can't reproduce the SIGHUP using the fbdev backend.
v3: better commit message.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>