Fix: checker link status

This commit is contained in:
Cyrille L 2022-03-21 12:12:37 +01:00
parent 37554d982f
commit ff2d43a665
2 changed files with 3 additions and 2 deletions

View File

@ -46,6 +46,7 @@ case "$1" in
gsl__if_file "$gsl_dir_helps/gsl_help_write_post" read
;;
esac
exit
;;
esac

View File

@ -207,9 +207,9 @@ if (( "$gsl_count_links" > 0 ));then
# Check URL
gsl_url_status=`
timeout 3 curl -o /dev/null --silent --head --write-out \
timeout 2 curl -o /dev/null --silent --head --write-out \
'%{http_code}' \
"$gsl_post_hf_2" 2>/dev/null || gsl_utl_status=408`
"$gsl_post_hf_2" 2>/dev/null || echo "408"`
case "$gsl_url_status" in
1*|2*|3*)