resolvectl: fail properly if we can't append to table

This commit is contained in:
Lennart Poettering
2022-11-10 23:09:56 +01:00
parent c6bf9dff3a
commit 858409499c
+1 -1
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)