compositor: do not overwrite error exit code
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 18 Nov 2014 13:57:04 +0000 (15:57 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 18 Nov 2014 13:57:04 +0000 (15:57 +0200)
commitf5ef88ff6088ed03bf13bb052dda615c8623609e
tree30d6e7bf40be4bdaf34e95cef6add8240302273a
parentc336f06e70e08686e8300bd16ebbb00c68e2b0a8
compositor: do not overwrite error exit code

If there are several things that cause an exit, keep the error code from
the first one, not the last one. The latter ones could be just fallout
from the first.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/compositor.c