projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082d58c
)
xwayland: Use _exit() when exec() fails
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 18 Jun 2013 05:03:02 +0000
(
01:03
-0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 18 Jun 2013 05:03:17 +0000
(
01:03
-0400)
Similar to 3b64d6 but for when we fork the X server.
src/xwayland/launcher.c
patch
|
blob
|
history
diff --git
a/src/xwayland/launcher.c
b/src/xwayland/launcher.c
index
a8ad478
..
7048131
100644
(file)
--- a/
src/xwayland/launcher.c
+++ b/
src/xwayland/launcher.c
@@
-72,7
+72,7
@@
weston_xserver_handle_event(int listen_fd, uint32_t mask, void *data)
"-terminate",
NULL) < 0)
weston_log("exec failed: %m\n");
-
exit(-1
);
+
_exit(EXIT_FAILURE
);
default:
weston_log("forked X server, pid %d\n", wxs->process.pid);