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://review.tizen.org/git/?a=commitdiff_plain;h=79b20ad8e28ded8b16489691a8587f2450d93eb5;p=platform%2Fupstream%2Fsystemd.git resolve: always shows global settings --- diff --git a/src/resolve/resolve-tool.c b/src/resolve/resolve-tool.c index 351f1ad..9208bf1 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());