From: Yu Watanabe Date: Sun, 25 Mar 2018 09:57:19 +0000 (+0900) Subject: resolve: always shows global settings X-Git-Tag: v239~478^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8578%2Fhead;p=thirdparty%2Fsystemd.git resolve: always shows global settings --- diff --git a/src/resolve/resolve-tool.c b/src/resolve/resolve-tool.c index 351f1addf10..9208bf1167c 100644 --- a/src/resolve/resolve-tool.c +++ b/src/resolve/resolve-tool.c @@ -1454,11 +1454,6 @@ static int status_global(sd_bus *bus, bool *empty_line) { goto finish; } - if (strv_isempty(global_info.dns) && strv_isempty(global_info.domains) && strv_isempty(global_info.ntas)) { - r = 0; - goto finish; - } - (void) pager_open(arg_no_pager, false); printf("%sGlobal%s\n", ansi_highlight(), ansi_normal());