From 18a065bb88ddcd5dad37d2b1de1cf8d4ca40b2a3 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Tue, 8 Nov 2022 11:44:06 +0100 Subject: [PATCH] Try to dump file system information even if errors were encountered --- src/dwarfs/filesystem_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dwarfs/filesystem_v2.cpp b/src/dwarfs/filesystem_v2.cpp index 6c80de20..06032948 100644 --- a/src/dwarfs/filesystem_v2.cpp +++ b/src/dwarfs/filesystem_v2.cpp @@ -732,7 +732,7 @@ int filesystem_v2::identify(logger& lgr, std::shared_ptr mm, } } - if (errors == 0 and detail_level > 0) { + if (detail_level > 0) { filesystem_options fsopts; fsopts.metadata.check_consistency = true; fsopts.metadata.enable_nlink = true;