mirror of https://github.com/kevquirk/512kb.club
Browse Source
Fixed path to sites.yml, reversed output, and intentionally slowed down the script for more accurate resultspull/968/head
Prehistoric Dog
2 years ago
committed by
GitHub
1 changed files with 2 additions and 2 deletions
@ -1,5 +1,5 @@
|
||||
#!/bin/bash |
||||
for f in $(awk -F " " '/url:/ {print $2}' _data/sites.yml) |
||||
for f in $(awk -F " " '/url:/ {print $2}' ../_data/sites.yml) |
||||
do |
||||
echo $f" Response code: "$(curl -o /dev/null -sw "%{response_code}" $f) | grep -v '200\|301\|302' & |
||||
echo "Response code: "$(curl -o /dev/null -sw "%{response_code}" $f)" "$f| grep -v '200\|301\|302' |
||||
done |
||||
|
Loading…
Reference in new issue