diff options
-rwxr-xr-x | google-startup-scripts/usr/share/google/fetch_script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/google-startup-scripts/usr/share/google/fetch_script b/google-startup-scripts/usr/share/google/fetch_script index 5286a06..262919f 100755 --- a/google-startup-scripts/usr/share/google/fetch_script +++ b/google-startup-scripts/usr/share/google/fetch_script @@ -85,7 +85,7 @@ function download_url_with_logfile() { # Unauthenticated download of the object. log "Downloading url from ${url} to ${dest} using curl" curl --max-time "${CURL_TIMEOUT}" --retry "${CURL_RETRY_LIMIT}" \ - 2> "${logfile}" -o "${dest}" -- "${url}" && return 0; + 2>> "${logfile}" -o "${dest}" -- "${url}" && return 0; log "Failed to download $url" return 1 |