mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
fix: Curl error on Chinese mirror (#706)
This commit is contained in:
parent
faec563b4a
commit
39c019193e
@ -130,7 +130,9 @@ if [ ! -s "$RDC" ]; then
|
||||
fKill "progress.sh"
|
||||
|
||||
if (( rc != 0 )); then
|
||||
(( rc != 22 )) && error "Failed to download $LOC, reason: $rc" && exit 60
|
||||
if (( rc != 22 )) && (( rc != 56 ));
|
||||
error "Failed to download $LOC, reason: $rc" && exit 60
|
||||
fi
|
||||
SUM="skip"
|
||||
else
|
||||
SUM=$(md5sum "$RD" | cut -f 1 -d " ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user