From: Mike Yuan Date: Sat, 23 Dec 2023 20:25:03 +0000 (+0800) Subject: analyze-fdstore: don't log duplicate error X-Git-Tag: v256-rc1~1402^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F30609%2Fhead;p=thirdparty%2Fsystemd.git analyze-fdstore: don't log duplicate error table_print_with_pager() logs print error internally. --- diff --git a/src/analyze/analyze-fdstore.c b/src/analyze/analyze-fdstore.c index 9881520242f..e1f88c35525 100644 --- a/src/analyze/analyze-fdstore.c +++ b/src/analyze/analyze-fdstore.c @@ -86,7 +86,7 @@ static int dump_fdstore(sd_bus *bus, const char *arg) { else { r = table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, /* show_header= */true); if (r < 0) - return log_error_errno(r, "Failed to output table: %m"); + return r; } return EXIT_SUCCESS;