diff options
author | Daniel Stone <daniels@collabora.com> | 2023-05-01 17:29:01 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2023-06-19 21:32:47 +0100 |
commit | 104676ec1fc61fc4b609dc89c2269efb6f073c3c (patch) | |
tree | 070dc70d4357e5ce51aa9fd3effd9883bc475ad3 /xwayland | |
parent | f360818960819af40027988d041a8a6f5a0aef0e (diff) |
xwayland: Remove process exit status from libweston API
This shouldn't be relevant to the core.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/launcher.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xwayland/launcher.c b/xwayland/launcher.c index c14c313e..7a8008d8 100644 --- a/xwayland/launcher.c +++ b/xwayland/launcher.c @@ -311,8 +311,7 @@ weston_xwayland_xserver_loaded(struct weston_xwayland *xwayland, int wm_fd) } static void -weston_xwayland_xserver_exited(struct weston_xwayland *xwayland, - int exit_status) +weston_xwayland_xserver_exited(struct weston_xwayland *xwayland) { struct weston_xserver *wxs = (struct weston_xserver *)xwayland; @@ -328,14 +327,14 @@ weston_xwayland_xserver_exited(struct weston_xwayland *xwayland, weston_xserver_handle_event, wxs); if (wxs->wm) { - weston_log("xserver exited, code %d\n", exit_status); + weston_log("xserver exited, will restart on demand\n"); weston_wm_destroy(wxs->wm); wxs->wm = NULL; } else { /* If the X server crashes before it binds to the * xserver interface, shut down and don't try * again. */ - weston_log("xserver crashing too fast: %d\n", exit_status); + weston_log("xserver crashing too fast, not restarting\n"); weston_xserver_shutdown(wxs); } } |