diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-01-05 17:34:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-01-05 21:44:11 +0100 |
commit | ef503f1cec53f654780591adee6e3e223b575f56 (patch) | |
tree | 74bc120aa0369819a0d1a072c11efb8a6eefd248 /src/resolve | |
parent | vconsole: permit configuration of vconsole settings via credentials (diff) | |
download | systemd-ef503f1cec53f654780591adee6e3e223b575f56.tar.xz systemd-ef503f1cec53f654780591adee6e3e223b575f56.zip |
resolvectl: remove duplicate ':' from output
The second argument to dump_list() actually ends up in a TABLE_FIELD
cell now, where we implicitly append a ":". Hence drop it from the
strings.
Follow-up for: 37a50123fac050c7ccde4afcf3f37ee77aad012c
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolvectl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index 682fe87ba9..505be23051 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -1946,15 +1946,15 @@ static int status_global(sd_bus *bus, StatusMode mode, bool *empty_line) { return table_log_add_error(r); } - r = dump_list(table, "DNS Servers:", global_info.dns_ex ?: global_info.dns); + r = dump_list(table, "DNS Servers", global_info.dns_ex ?: global_info.dns); if (r < 0) return r; - r = dump_list(table, "Fallback DNS Servers:", global_info.fallback_dns_ex ?: global_info.fallback_dns); + r = dump_list(table, "Fallback DNS Servers", global_info.fallback_dns_ex ?: global_info.fallback_dns); if (r < 0) return r; - r = dump_list(table, "DNS Domain:", global_info.domains); + r = dump_list(table, "DNS Domain", global_info.domains); if (r < 0) return r; |