fix: Set download timeout (#56)
This commit is contained in:
parent
e68fd18886
commit
cf4d9e4f9e
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ MSG="Downloading $BASE..."
|
||||||
info "$MSG" && html "$MSG"
|
info "$MSG" && html "$MSG"
|
||||||
|
|
||||||
/run/progress.sh "$TMP" "" "Downloading $BASE ([P])..." &
|
/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"
|
fKill "progress.sh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue