From 30c9a0d9cfd679663cc7b14efebdb201e6bf1f49 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 13 Nov 2016 00:57:46 +1300 Subject: Remove unneeded var --- bin/urlc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/urlc b/bin/urlc index 0998ad4d..a949f50d 100755 --- a/bin/urlc +++ b/bin/urlc @@ -61,8 +61,7 @@ while read -r url ; do # Form a naïve attempt at a possible secure URL and try to request it, # point it out if it actually works - burl=${url#http://} - surl=https://$burl + surl=https://${url#http://} if curl -A Mozilla -fLsS -D "$head" -m "$tm" -o "$body" -- \ "$surl" 2>/dev/null ; then printf >&2 '%s: %s has a working secure version at %s\n' \ -- cgit v1.2.3