diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 8f7333434..a4240aa9c 100644 --- a/src/main.c +++ b/src/main.c @@ -1113,7 +1113,7 @@ main (gint argc, gchar **argv, gchar **env) /* Override pidfile from configuration by command line argument */ if (rspamd_pidfile != NULL) { - cfg->pid_file = rspamd_pidfile; + rspamd_main->cfg->pid_file = rspamd_pidfile; } /* Force debug log */ |