mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
curl
This commit is contained in:
parent
9ad0a7667c
commit
cc7b1b4fc4
@ -47,11 +47,6 @@ function downloadUpdate {
|
||||
echo "$HEADER: curl error" && return
|
||||
fi
|
||||
|
||||
if ! curl -s -f -k -m 3 -o "${TMP}" https://raw.githubusercontent.com/kroese/virtual-dsm/master/agent/agent.sh; then
|
||||
#echo "$HEADER: curl error" && return
|
||||
return
|
||||
fi
|
||||
|
||||
if [ ! -f "${TMP}" ]; then
|
||||
echo "$HEADER: update error, file not found.." && return
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user