Commit 2e664edd authored by Niels Möller's avatar Niels Möller
Browse files

(main): Don't use syslog if the user provided an

explicit log-file option.

Rev: src/lshd.c:1.117
parent 48ac2627
......@@ -719,8 +719,12 @@ int main(int argc, char **argv)
werror("Disabling of core dumps failed.\n");
if (options->daemonic)
/* Don't use syslog if there was an explicit logfile option.
* FIXME: This could be done in a cleaner way without the global
* variable. */
if (options->daemonic && !logfile_flag)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment