diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mountd/mountd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index 7cc1b1b..14dac41 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -531,7 +531,8 @@ main(int argc, char **argv) } } /* Initialize logging. */ -/* xlog_open("mountd"); */ + if (!foreground) xlog_stderr(0); + xlog_open("mountd"); sa.sa_handler = SIG_IGN; sa.sa_flags = 0; @@ -589,7 +590,6 @@ main(int argc, char **argv) if (fd > 2) (void) close(fd); } setsid(); - xlog_background(); } my_svc_run(); |