/[smeserver]/rpms/dehydrated/sme10/dehydrated-0.5.0-bz10521-7a0e71c6c2ccc6e98abca5ea1c7de28053e90c02.patch
ViewVC logotype

Diff of /rpms/dehydrated/sme10/dehydrated-0.5.0-bz10521-7a0e71c6c2ccc6e98abca5ea1c7de28053e90c02.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Fri Feb 16 22:46:27 2018 UTC Revision 1.2 by jpp, Mon Feb 26 22:04:13 2018 UTC
# Line 6  diff -Nur dehydrated-0.5.0.ori/dehydrate Line 6  diff -Nur dehydrated-0.5.0.ori/dehydrate
6       curlret="${?}"       curlret="${?}"
7     elif [[ "${1}" = "get" ]]; then     elif [[ "${1}" = "get" ]]; then
8  -    statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}")"  -    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}")"  +    statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -L -s -w "%{http_code}" -o "${tempcont}" "${2}")"
10       curlret="${?}"       curlret="${?}"
11     elif [[ "${1}" = "post" ]]; then     elif [[ "${1}" = "post" ]]; then
12       statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -d "${3}")"       statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -d "${3}")"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed