From: Vsevolod Stakhov Date: Fri, 29 Jun 2018 10:53:06 +0000 (+0100) Subject: [CritFix] Do not overwrite PID of the main process X-Git-Tag: 1.7.7~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b469b2e99f457da4ccd25f4af7531fa7c1f309ec;p=rspamd.git [CritFix] Do not overwrite PID of the main process --- diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 774805544..68ea9730e 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -306,7 +306,6 @@ rspamd_prepare_worker (struct rspamd_worker *worker, const char *name, gperf_profiler_init (worker->srv->cfg, name); - worker->srv->pid = getpid (); worker->signal_events = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, rspamd_sigh_free);