mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
resolvectl: fail properly if we can't append to table
This commit is contained in:
parent
c6bf9dff3a
commit
858409499c
@ -1156,7 +1156,7 @@ static int show_statistics(int argc, char **argv, void *userdata) {
|
||||
TABLE_STRING, "Indeterminate:",
|
||||
TABLE_UINT64, n_dnssec_indeterminate);
|
||||
if (r < 0)
|
||||
table_log_add_error(r);
|
||||
return table_log_add_error(r);
|
||||
|
||||
r = table_print(table, NULL);
|
||||
if (r < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user