Skip to content

Commit e4740c1

Browse files
Silence fetch_file download statistics in logs
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
1 parent 22ff6fa commit e4740c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generator/build/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function fetch_file() {
5757
local success=1 # 1 means False in bash, 0 means True
5858
set +e
5959
for i in $(seq 1 "$tries"); do
60-
wget "$target" -O "$destination" && success=0 && break
60+
wget -q "$target" -O "$destination" && success=0 && break
6161
if [ "$i" -lt "$tries" ]; then
6262
sleep 10s
6363
fi

0 commit comments

Comments
 (0)