1
1
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:
Lennart Poettering 2022-11-10 13:30:02 +01:00
parent c6bf9dff3a
commit 858409499c

View File

@ -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)