mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
resolve: always shows global settings
This commit is contained in:
parent
2892077c93
commit
79b20ad8e2
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user