diff options
Diffstat (limited to 'src/cfg_file.y')
-rw-r--r-- | src/cfg_file.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cfg_file.y b/src/cfg_file.y index a4f7034d0..91c40a734 100644 --- a/src/cfg_file.y +++ b/src/cfg_file.y @@ -122,7 +122,10 @@ tempdir : pidfile : PIDFILE EQSIGN QUOTEDSTRING { - cfg->pid_file = $3; + if (cfg->pid_file == NULL) { + /* Allow override this value from command line */ + cfg->pid_file = $3; + } } ; |