server.c: Only try to print errors when not in daemon mode.
authorAndre Noll <maan@systemlinux.org>
Sun, 18 Jan 2009 23:22:53 +0000 (00:22 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Jan 2009 23:22:53 +0000 (00:22 +0100)
server.c

index 0924ace..6aa7c1f 100644 (file)
--- a/server.c
+++ b/server.c
@@ -226,7 +226,7 @@ static void parse_config(int override)
                        .initialize = 0,
                        .check_required = 1,
                        .check_ambiguity = 0,
-                       .print_errors = 1
+                       .print_errors = !conf.daemon_given
                };
                server_cmdline_parser_config_file(cf, &conf, &params);
                conf.daemon_given = tmp;