fix: reports were kinda mangled. changed a make_text function call
This commit is contained in:
2
main.sh
2
main.sh
@@ -104,7 +104,7 @@ make_report() {
|
||||
make_text "found $(wc -l "$REPORT"/"$REPORT"_timeout.txt | cut -d" " -f1) timeouts." warn
|
||||
make_text "found $(wc -l "$REPORT"/"$REPORT"_connissues.txt | cut -d" " -f1) sites with connection issues." warn
|
||||
make_text "found $(wc -l "$REPORT"/"$REPORT"_unresolved.txt | cut -d" " -f1) sites with unresolved IP addresses." warn
|
||||
make_text "found $(grep -cviE "not resolve|not connect|timed out" "$REPORT"/"$REPORT".txt) sites with unresolved IP addresses." ok
|
||||
make_text "found $(grep -cviE "not resolve|not connect|timed out" "$REPORT"/"$REPORT".txt) sites that are okay." ok
|
||||
make_text "reports ready. good luck :)" ok
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user