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