ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Validate External Links/validate_external_links.sh
(Generate patch)

Comparing Validate External Links/validate_external_links.sh (file contents):
Revision 1193 by iritscen, Thu Oct 31 22:03:44 2024 UTC vs.
Revision 1201 by iritscen, Mon Oct 20 02:41:05 2025 UTC

# Line 983 | Line 983 | for LINE in `cat "$LINKS_FILE"`; do
983     CURL_RESULT=$CURL_CODE
984  
985     # Tack 'curl' exit code onto result string if 'curl' returned "000" (no HTTP response)
986 <   if [ $CURL_CODE == "000" ]; then
986 >   if [ "$CURL_CODE" == "000" ]; then
987        CURL_RESULT="$CURL_RESULT-$CURL_ERR"
988     fi
989  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)