]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 0924ace4b07eac452a193df49c4b48bf6c8562aa..6aa7c1f4c597fd92d4574aa43f3742604e6c9df9 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;