systemd-resolve: use plural "DNS Servers"
Usually multiple DNS servers are configured, and it looks strange to have singular in the heading.
This commit is contained in:
parent
e306f2df03
commit
7b7c1aacf6
|
@ -1229,8 +1229,8 @@ static int status_ifindex(sd_bus *bus, int ifindex, const char *name, bool *empt
|
||||||
yes_no(link_info.dnssec_supported));
|
yes_no(link_info.dnssec_supported));
|
||||||
|
|
||||||
STRV_FOREACH(i, link_info.dns) {
|
STRV_FOREACH(i, link_info.dns) {
|
||||||
printf(" %s %s\n",
|
printf(" %s %s\n",
|
||||||
i == link_info.dns ? "DNS Server:" : " ",
|
i == link_info.dns ? "DNS Servers:" : " ",
|
||||||
*i);
|
*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1412,8 +1412,8 @@ static int status_global(sd_bus *bus, bool *empty_line) {
|
||||||
|
|
||||||
printf("%sGlobal%s\n", ansi_highlight(), ansi_normal());
|
printf("%sGlobal%s\n", ansi_highlight(), ansi_normal());
|
||||||
STRV_FOREACH(i, global_info.dns) {
|
STRV_FOREACH(i, global_info.dns) {
|
||||||
printf(" %s %s\n",
|
printf(" %s %s\n",
|
||||||
i == global_info.dns ? "DNS Server:" : " ",
|
i == global_info.dns ? "DNS Servers:" : " ",
|
||||||
*i);
|
*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue