]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze-fdstore: don't log duplicate error 30609/head
authorMike Yuan <me@yhndnzj.com>
Sat, 23 Dec 2023 20:25:03 +0000 (04:25 +0800)
committerMike Yuan <me@yhndnzj.com>
Sat, 23 Dec 2023 20:27:55 +0000 (04:27 +0800)
table_print_with_pager() logs print error internally.

src/analyze/analyze-fdstore.c

index 9881520242fc56bfc1f1273b7c6d909aba4798d2..e1f88c355252684c46cee01c542a087c0f82ce86 100644 (file)
@@ -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;