mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
client: ignore -v option in csv mode
This commit is contained in:
7
client.c
7
client.c
@@ -1907,12 +1907,9 @@ format_name(char *buf, int size, int trunc_dns, int ref, uint32_t ref_id,
|
||||
static int
|
||||
check_for_verbose_flag(char *line)
|
||||
{
|
||||
char *p = line;
|
||||
if (!strcmp(p, "-v")) {
|
||||
if (!csv_mode && !strcmp(line, "-v"))
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user