Sorting the site list (imperfect) and eliminating duplicates

master
Aaron Johnson 4 years ago
parent 5280d0cfc4
commit 16b3d3168e

@ -62,7 +62,7 @@ MSG='HTTP/S Problems Found:'
FAILURE=false
# Check HTTP codes
for site in $(grep -v "^#\|^$" $CHKLIST); do
for site in $(grep -v "^#\|^$" $CHKLIST | sort | uniq); do
respcode=$(get_http_code $site)
case $respcode in
000)

Loading…
Cancel
Save