]> err.no Git - systemd/commitdiff
Avoid sending sigterm to session leader
authorTollef Fog Heen <tfheen@err.no>
Sat, 30 Jun 2012 06:00:35 +0000 (08:00 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 30 Jun 2012 06:00:35 +0000 (08:00 +0200)
src/login/logind-session.c

index af9c12dcd57d22c35eff72c5c500506115f4ed71..084c51f75e2b02aee034a95713667c95df482114 100644 (file)
@@ -627,7 +627,7 @@ static int session_terminate_cgroup(Session *s) {
 
                         r = manager_get_session_by_pid(s->manager, s->leader, &t);
                         if (r > 0 && t == s) {
-                                kill(s->leader, SIGTERM); /* for normal processes */
+                                /*kill(s->leader, SIGTERM); */ /* for normal processes */
                                 kill(s->leader, SIGHUP);  /* for shells */
                                 kill(s->leader, SIGCONT); /* in case they are stopped */
                         }