Merge pull request #1823 from vpeter4/stuff

autoupdate: checking download success
This commit is contained in:
Stephan Raue 2013-01-31 05:28:19 -08:00
commit 88f0cf423f
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ download () {
wget -U "$THIS_DISTRIBUTION ($THIS_ARCH): $THIS_VERSION" \
-c ${1}?sysid=$SYSTEMID \
-O $2 > /dev/null 2>&1
[ $? -ne 0 ] && exit 1
;;
scp)
scp $SCP_ARG "$1" $TMP_DIR

View File

@ -46,6 +46,7 @@ download () {
wget -U "$THIS_DISTRIBUTION ($THIS_ARCH): $THIS_VERSION" \
-c ${1}?sysid=$SYSTEMID \
-O $2 > /dev/null 2>&1
[ $? -ne 0 ] && exit 1
;;
scp)
scp $SCP_ARG "$1" $TMP_DIR