diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-11-10 13:30:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-11-10 23:09:56 +0100 |
commit | 858409499ca7e65d4c694f7c6ae4077c261951d6 (patch) | |
tree | da55d58f213f16ce000ca194e20391a94ff9d6ea /src/resolve | |
parent | c6bf9dff3a6e6a071b55755b57f8d44bbefe9cca (diff) | |
download | systemd-858409499ca7e65d4c694f7c6ae4077c261951d6.tar.gz |
resolvectl: fail properly if we can't append to table
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolvectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index dd0a8e121e..ffeac94176 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -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) |