gdm r6581 - in branches/gnome-2-20: . daemon



Author: bcameron
Date: Thu Oct 23 10:37:11 2008
New Revision: 6581
URL: http://svn.gnome.org/viewvc/gdm?rev=6581&view=rev

Log:
2008-10-23 Brian Cameron <brian cameron sun com>

        * daemon/server.c: Fix fbconsole launching code so that if it fails
          to run, the forked child just exits.


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/daemon/server.c

Modified: branches/gnome-2-20/daemon/server.c
==============================================================================
--- branches/gnome-2-20/daemon/server.c	(original)
+++ branches/gnome-2-20/daemon/server.c	Thu Oct 23 10:37:11 2008
@@ -152,6 +152,10 @@
                 gdm_close_all_descriptors (0 /* from */, -1 /* except */, -1 /* except2 */)
 ;
                 VE_IGNORE_EINTR (execv (argv[0], argv));
+
+		gdm_error ("Can not start fallback console: %s",
+			   strerror (errno));
+		_exit (0);
         }
         if (d->fbconsolepid == -1) {
                 gdm_error (_("Can not start fallback console"));



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