From 517b1ae29a426321e6673ff93fbfe941a5828a73 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 2 Mar 2021 12:21:52 +0100 Subject: [PATCH] main: suppress info messages with -p option Log (to stderr) only warnings and higher when printing the configuration to suppress the "chronyd starting" message. --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 3290d33..74e2706 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);