diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-13 00:57:46 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-13 00:57:46 +1300 |
commit | 30c9a0d9cfd679663cc7b14efebdb201e6bf1f49 (patch) | |
tree | 56fa8506b183ecbd7cb517ee493ac5627dcac5aa /bin | |
parent | Quote var in param expansion (diff) | |
download | dotfiles-30c9a0d9cfd679663cc7b14efebdb201e6bf1f49.tar.gz dotfiles-30c9a0d9cfd679663cc7b14efebdb201e6bf1f49.zip |
Remove unneeded var
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/urlc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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' \ |