diff options
author | Ray Strode <rstrode@redhat.com> | 2009-07-24 14:41:48 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-05-19 16:51:07 -0400 |
commit | 924a1fc94005a90a375da9a1eee03778118429c4 (patch) | |
tree | 212118ff2253b176ea2c4d8c41d1ee4453060768 /daemon/gdm-session-worker-job.c | |
parent | 7efd04ace421b909f0de7d031e8616c98f569b83 (diff) | |
download | gdm-924a1fc94005a90a375da9a1eee03778118429c4.tar.gz |
daemon: kill stuck processes if they don't die on term
Some PAM modules are really slow to shut down.
We need to handle them being slow to shut down better,
(by not blocking login on them shutting down etc), but
in the mean time force them to die immediately.
Diffstat (limited to 'daemon/gdm-session-worker-job.c')
-rw-r--r-- | daemon/gdm-session-worker-job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-session-worker-job.c b/daemon/gdm-session-worker-job.c index 50bf4c0a..c13a0a29 100644 --- a/daemon/gdm-session-worker-job.c +++ b/daemon/gdm-session-worker-job.c @@ -262,7 +262,7 @@ session_worker_job_died (GdmSessionWorkerJob *session_worker_job) int exit_status; g_debug ("GdmSessionWorkerJob: Waiting on process %d", session_worker_job->priv->pid); - exit_status = gdm_wait_on_pid (session_worker_job->priv->pid); + exit_status = gdm_wait_on_and_kill_pid (session_worker_job->priv->pid, 3); if (WIFEXITED (exit_status) && (WEXITSTATUS (exit_status) != 0)) { g_debug ("GdmSessionWorkerJob: Wait on child process failed"); |