1 |
diff -Nur dehydrated-0.5.0.ori/dehydrated dehydrated-0.5.0/dehydrated |
2 |
--- dehydrated-0.5.0.ori/dehydrated 2018-01-13 14:08:12.000000000 -0500 |
3 |
+++ dehydrated-0.5.0/dehydrated 2018-02-16 17:41:12.261000000 -0500 |
4 |
@@ -424,7 +424,7 @@ |
5 |
statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -I)" |
6 |
curlret="${?}" |
7 |
elif [[ "${1}" = "get" ]]; then |
8 |
- statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}")" |
9 |
+ statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -L s -w "%{http_code}" -o "${tempcont}" "${2}")" |
10 |
curlret="${?}" |
11 |
elif [[ "${1}" = "post" ]]; then |
12 |
statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -d "${3}")" |