From: Miroslav Lichvar Date: Tue, 2 Mar 2021 11:21:52 +0000 (+0100) Subject: main: suppress info messages with -p option X-Git-Tag: 4.1-pre1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=517b1ae29a426321e6673ff93fbfe941a5828a73;p=thirdparty%2Fchrony.git main: suppress info messages with -p option Log (to stderr) only warnings and higher when printing the configuration to suppress the "chronyd starting" message. --- diff --git a/main.c b/main.c index 3290d33d..74e27067 100644 --- a/main.c +++ b/main.c @@ -492,6 +492,7 @@ int main user_check = 0; nofork = 1; system_log = 0; + log_severity = LOGS_WARN; break; case 'P': sched_priority = parse_int_arg(optarg);