From c7484eb54141a757b1e1829d83912ae39f6a304d Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Sat, 30 Apr 2016 12:18:04 -0700 Subject: [PATCH] HADOOP-13012. yetus-wrapper should fail sooner when download fails (Steven Wong via aw) --- dev-support/bin/yetus-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/bin/yetus-wrapper b/dev-support/bin/yetus-wrapper index b064925292b..fd416d698d2 100755 --- a/dev-support/bin/yetus-wrapper +++ b/dev-support/bin/yetus-wrapper @@ -115,7 +115,7 @@ if [[ $? != 0 ]]; then fi if [[ -n "${CURLBIN}" ]]; then - "${CURLBIN}" -s -L -O "${BASEURL}/${TARBALL}.gz" + "${CURLBIN}" -f -s -L -O "${BASEURL}/${TARBALL}.gz" if [[ $? != 0 ]]; then yetus_error "ERROR: yetus-dl: unable to download ${BASEURL}/${TARBALL}.gz" exit 1