diff --git a/http_check_telegram b/http_check_telegram index 0406e0a..89fb000 100755 --- a/http_check_telegram +++ b/http_check_telegram @@ -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)