projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2892077
)
resolve: always shows global settings
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 25 Mar 2018 09:57:19 +0000
(18:57 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 25 Mar 2018 09:57:19 +0000
(18:57 +0900)
src/resolve/resolve-tool.c
patch
|
blob
|
history
diff --git
a/src/resolve/resolve-tool.c
b/src/resolve/resolve-tool.c
index
351f1ad
..
9208bf1
100644
(file)
--- 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());