summaryrefslogtreecommitdiff
path: root/src/get.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-11 13:29:32 +0100
committerdavidovski <david@davidovski.xyz>2022-04-11 13:29:32 +0100
commit5bad037fa71bcd7684ae1ffc7549b7b45fa08af5 (patch)
treeac62d88592ce424e5426849cc8949a0660cb80fe /src/get.sh
parent55d1861110d56e35b2c13d7742e0dc7ca2dd2665 (diff)
added error loggingv1.1.7
Diffstat (limited to 'src/get.sh')
-rwxr-xr-xsrc/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/get.sh b/src/get.sh
index 3c49e3a..b99340f 100755
--- a/src/get.sh
+++ b/src/get.sh
@@ -91,8 +91,8 @@ download_package () {
${VERBOSE} && printf "${LIGHT_BLACK}downloading $package from $url\n" $package $checksum
touch $output
- (curl ${CURL_OPTS} -o "$output_info" "$url.info" || printf "${RED}Failed to download info for %s\n" $package) &
- (curl ${CURL_OPTS} -o "$output" "$url" || printf "${RED}Failed to download %s\n" $package) &
+ (curl ${CURL_OPTS} -o "$output_info" "$url.info" 2>> ${LOG_FILE} || printf "${RED}Failed to download info for %s\n" $package) &
+ (curl ${CURL_OPTS} -o "$output" "$url" 2>> ${LOG_FILE} || printf "${RED}Failed to download %s\n" $package) &
}
download_packages () {