From: Tollef Fog Heen Date: Sat, 30 Jun 2012 06:00:35 +0000 (+0200) Subject: Avoid sending sigterm to session leader X-Git-Tag: 44-3~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39c3878e6c104d6fd1387e1af3862728f4b8163a;p=systemd Avoid sending sigterm to session leader --- diff --git a/src/login/logind-session.c b/src/login/logind-session.c index af9c12dc..084c51f7 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -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 */ }