fix: Set download timeout (#56)

This commit is contained in:
Kroese 2024-05-04 17:16:47 +02:00 committed by GitHub
parent e68fd18886
commit cf4d9e4f9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ MSG="Downloading $BASE..."
info "$MSG" && html "$MSG"
/run/progress.sh "$TMP" "" "Downloading $BASE ([P])..." &
{ wget "$BOOT" -O "$TMP" -q --no-check-certificate --show-progress "$PROGRESS"; rc=$?; } || :
{ wget "$BOOT" -O "$TMP" -q --timeout=10 --show-progress "$PROGRESS"; rc=$?; } || :
fKill "progress.sh"