From: Zachary Vance Date: Sat, 28 Nov 2015 20:43:51 +0000 (-0800) Subject: Allow redirects X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=debb82d10da6889ed8eb6e4ed585dd353bcdeb43;p=za3k.git Allow redirects --- diff --git a/cgi-bin/up? b/cgi-bin/up? index da9be09..5e8a8df 100755 --- a/cgi-bin/up? +++ b/cgi-bin/up? @@ -1,4 +1,4 @@ #!/bin/bash -HEADER=$(curl -Is "$1" | head -1) +HEADER=$(curl -ILs "$1" | head -1) echo "${HEADER}" echo "${HEADER}" | grep -q "200 OK"