[mutter/wayland] xwayland: Make failing to exec a fatal error



commit 2a7d12ba142fcc7876245785c1d4c75776e9b8a4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Apr 2 13:03:29 2014 -0400

    xwayland: Make failing to exec a fatal error

 src/wayland/meta-xwayland.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index 2904965..cfef99e 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -398,8 +398,7 @@ meta_xwayland_start (MetaXWaylandManager *manager,
                  "-nolisten", "all",
                  NULL) < 0)
         {
-          g_warning ("Failed to spawn XWayland: %m");
-          exit (EXIT_FAILURE);
+          g_error ("Failed to spawn XWayland: %m");
         }
     }
   else if (manager->pid == -1)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]