summaryrefslogtreecommitdiff
path: root/src/util.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/util.sh
parent55d1861110d56e35b2c13d7742e0dc7ca2dd2665 (diff)
added error loggingv1.1.7
Diffstat (limited to 'src/util.sh')
-rw-r--r--src/util.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.sh b/src/util.sh
index 98af40b..501da96 100644
--- a/src/util.sh
+++ b/src/util.sh
@@ -1,7 +1,7 @@
#!/bin/sh
download_file() {
- curl ${CURL_OPTS} -o $1 -w "%{http_code}" $2 2> /dev/null
+ curl ${CURL_OPTS} -o $1 -w "%{http_code}" $2 2>> ${LOG_FILE}
}
# this function is broken