diff options
author | Ray Strode <rstrode@redhat.com> | 2011-12-22 12:28:07 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-12-22 12:28:07 -0500 |
commit | 4cb2b3fa34d43e72325bba210f86a0732856090a (patch) | |
tree | d6b709449b8e86ba2ff017434b3d69903f378ea4 /daemon/gdm-session-worker-job.c | |
parent | c03302bfd51da2bca4e836b1af2c477e241e9c9d (diff) | |
download | gdm-4cb2b3fa34d43e72325bba210f86a0732856090a.tar.gz |
daemon: don't every SIGKILL children
There's no situation where it's the right thing to do.
The children of the daemon are responsible for themselves.
If they don't go away when asked we shouldn't second guess
them, we just need to ignore them.
This means we may end up with zombie children if those children
have bugs, but it's better than prematurely killing them if they're
slow.
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 ac96cf1c..cb2901a5 100644 --- a/daemon/gdm-session-worker-job.c +++ b/daemon/gdm-session-worker-job.c @@ -289,7 +289,7 @@ handle_session_worker_job_death (GdmSessionWorkerJob *session_worker_job) int exit_status; g_debug ("GdmSessionWorkerJob: Waiting on process %d", session_worker_job->priv->pid); - exit_status = gdm_wait_on_and_kill_pid (session_worker_job->priv->pid, 3); + exit_status = gdm_wait_on_and_disown_pid (session_worker_job->priv->pid, 5); if (WIFEXITED (exit_status) && (WEXITSTATUS (exit_status) != 0)) { g_debug ("GdmSessionWorkerJob: Wait on child process failed"); |