]> source.dussan.org Git - rspamd.git/commitdiff
[CritFix] Do not overwrite PID of the main process
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 29 Jun 2018 10:53:06 +0000 (11:53 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 29 Jun 2018 10:53:06 +0000 (11:53 +0100)
src/libserver/worker_util.c

index 774805544da877bc65a552b702d5ce3bbc42dcac..68ea9730ee07419658a830a52223c409ad970b5f 100644 (file)
@@ -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);