[gdm] Fix bug #607738 since Vincent confirmed the fix for #607658 is going into gnome-session. No longer



commit d7eb8557ff3e57cede7bb828a2e0d27415ab5b75
Author: Brian Cameron <Brian Cameron sun com>
Date:   Mon Mar 8 16:07:04 2010 -0600

    Fix bug #607738 since Vincent confirmed the fix for #607658 is going into
    gnome-session.  No longer kill gnome-session process group when the user
    logs in.  Now kill just gnome-session and let it safely exi.

 daemon/gdm-welcome-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-welcome-session.c b/daemon/gdm-welcome-session.c
index 52395c0..e56fed0 100644
--- a/daemon/gdm-welcome-session.c
+++ b/daemon/gdm-welcome-session.c
@@ -961,7 +961,7 @@ gdm_welcome_session_stop (GdmWelcomeSession *welcome_session)
 
         g_debug ("GdmWelcomeSession: Stopping welcome_session");
 
-        res = gdm_signal_pid (-1 * welcome_session->priv->pid, SIGTERM);
+        res = gdm_signal_pid (welcome_session->priv->pid, SIGTERM);
         if (res < 0) {
                 g_warning ("Unable to kill welcome session process");
         } else {



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