Can someone tell me why I am getting this error Message ?
#!/bin/bash
while read LINE; do
        curl -o /dev/null --silent --head --write-out '%{http_code}' "$LINE"
        if [ $http_code != 200]; then
                echo " $LINE URL not available"
                exit 1
        fi
        echo " $LINE"
        done < url-list.txt
 
    