aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-10-31 17:37:54 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-10-31 17:37:54 +0000
commitd6e1e31a0e68f274c4e335ad0db471c6bbde81ed (patch)
tree3d4b442661049386b6f44a0584ab967592df9761
parent09312399a75e76dd7df60eabf1072a240ae58c27 (diff)
downloadsrc-d6e1e31a0e6.tar.gz
src-d6e1e31a0e6.zip
freebsd-update: add a progress report for the "fetching files..."
After patching step is done. PR: 232857 Submitted by: mat@ MFC after: a week
Notes
Notes: svn path=/head/; revision=339960
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 6e39b8f31f00..9817f2e80517 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -1888,7 +1888,7 @@ fetch_files () {
echo ${NDEBUG} "files... "
lam -s "${FETCHDIR}/f/" - -s ".gz" < filelist |
xargs ${XARGST} ${PHTTPGET} ${SERVERNAME} \
- 2>${QUIETREDIR}
+ 2>${STATSREDIR} | fetch_progress
while read Y; do
if ! [ -f ${Y}.gz ]; then