[PATCH v3 02/18] libfile:copy_file: show statistics in verbose mode
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Aug 15 01:42:06 PDT 2022
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
lib/libfile.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/libfile.c b/lib/libfile.c
index 3b7985fbcabb..9eb06de02945 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -454,6 +454,9 @@ int copy_file(const char *src, const char *dst, int verbose)
}
}
+ if (verbose)
+ close_progress(total);
+
ret = 0;
out:
if (verbose)
--
2.37.1
More information about the barebox
mailing list