diff options
author | Konstantin Tokarev <ktokarev@smartlabs.tv> | 2015-12-01 21:52:38 +0300 |
---|---|---|
committer | Konstantin Tokarev <ktokarev@smartlabs.tv> | 2015-12-15 16:43:29 +0300 |
commit | 2d6bbf341d0554fb33179dfe7757b6e22f993fe6 (patch) | |
tree | 6ec92058e22c58be81d4d169c9f9eaea54ceab65 /svr-main.c | |
parent | 2f62128297bc22c22f0da6617eeae53a1cd90dd2 (diff) |
Moved usingsyslog from svr_runopts to runopts.
Diffstat (limited to 'svr-main.c')
-rw-r--r-- | svr-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ void main_noinetd() { if (svr_opts.forkbg) { int closefds = 0; #ifndef DEBUG_TRACE - if (!svr_opts.usingsyslog) { + if (!opts.usingsyslog) { closefds = 1; } #endif @@ -367,8 +367,8 @@ static void commonsetup() { struct sigaction sa_chld; #ifndef DISABLE_SYSLOG - if (svr_opts.usingsyslog) { startsyslog(); + if (opts.usingsyslog) { } #endif |