mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-07-02 13:35:01 +08:00
curl
This commit is contained in:
parent
9ad0a7667c
commit
cc7b1b4fc4
@ -47,11 +47,6 @@ function downloadUpdate {
|
|||||||
echo "$HEADER: curl error" && return
|
echo "$HEADER: curl error" && return
|
||||||
fi
|
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
|
if [ ! -f "${TMP}" ]; then
|
||||||
echo "$HEADER: update error, file not found.." && return
|
echo "$HEADER: update error, file not found.." && return
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user