about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-06-08 15:30:20 -0500
committerCase Duckworth2020-06-08 15:30:20 -0500
commitade0ac25fe4eb69e8498fd1adcb48f4c7fcb68e8 (patch)
treea41d0a9cfc50d9059e38d2a5fc34fc976f924081
parentFix bye message (diff)
downloadbollux-ade0ac25fe4eb69e8498fd1adcb48f4c7fcb68e8.tar.gz
bollux-ade0ac25fe4eb69e8498fd1adcb48f4c7fcb68e8.zip
Set BOLLUX_URL on 3* status codes
-rwxr-xr-xbollux1
1 files changed, 1 insertions, 0 deletions
diff --git a/bollux b/bollux index 6b99ceb..10a0c65 100755 --- a/bollux +++ b/bollux
@@ -420,6 +420,7 @@ gemini_response() { # gemini_response URL
420 if ((REDIRECTS > BOLLUX_MAXREDIR)); then 420 if ((REDIRECTS > BOLLUX_MAXREDIR)); then
421 die $((100 + code)) "Too many redirects!" 421 die $((100 + code)) "Too many redirects!"
422 fi 422 fi
423 BOLLUX_URL="$url"
423 run blastoff "$meta" # TODO: confirm redirect 424 run blastoff "$meta" # TODO: confirm redirect
424 ;; 425 ;;
425 4*) # temporary error 426 4*) # temporary error