From 5bad037fa71bcd7684ae1ffc7549b7b45fa08af5 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 11 Apr 2022 13:29:32 +0100 Subject: added error logging --- src/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.sh') 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 -- cgit v1.2.1