diff options
Diffstat (limited to 'src/zen/cmds/bench_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/bench_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zen/cmds/bench_cmd.cpp b/src/zen/cmds/bench_cmd.cpp index b1639105a..c935179e2 100644 --- a/src/zen/cmds/bench_cmd.cpp +++ b/src/zen/cmds/bench_cmd.cpp @@ -1661,7 +1661,7 @@ BenchDiskSubCmd::RunClone(const std::filesystem::path& Dir) try { std::filesystem::path DstPath = Dir / fmt::format("bench_clone_{}.tmp", FileIndex); - if (TryCloneFile(SrcPath, DstPath)) + if (std::error_code CloneEc = TryCloneFile(SrcPath, DstPath); !CloneEc) { CloneCount.fetch_add(1, std::memory_order_relaxed); } |