summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2023-10-12 18:33:50 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2023-10-14 18:58:26 -0600
commitb15e310abe81a952624c3e96dd117699de7359e1 (patch)
treee37194b595c121518d293560ae734ff7a6bc1bfb /bin
parent0f34be118ae3b89a707eca452ede80cb05bbc589 (diff)
Always pass -f (--fail) to curl
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cdxget2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cdxget b/bin/cdxget
index 1d465b2..6844fa6 100755
--- a/bin/cdxget
+++ b/bin/cdxget
@@ -6,4 +6,4 @@ for arg in "$@"; do
url+="$s${arg%%=*}=$(printf '%s' "${arg#*=}"|urlencode)"
s='&'
done
-curl -sL "$url"
+curl -sfL "$url"