Test contre le test de lien
This commit is contained in:
parent
25eaee1c87
commit
6d2dd24295
|
@ -211,7 +211,7 @@ if (( "$gsl_count_links" > 0 ));then
|
||||||
"$gsl_post_hf_2" 2>/dev/null || echo "408"`
|
"$gsl_post_hf_2" 2>/dev/null || echo "408"`
|
||||||
|
|
||||||
case "$gsl_url_status" in
|
case "$gsl_url_status" in
|
||||||
1*|2*|3*)
|
0*|1*|2*|3*)
|
||||||
gsl__logs_print \
|
gsl__logs_print \
|
||||||
"$gsl_log_i" \
|
"$gsl_log_i" \
|
||||||
"Post" \
|
"Post" \
|
||||||
|
@ -221,15 +221,12 @@ if (( "$gsl_count_links" > 0 ));then
|
||||||
;;
|
;;
|
||||||
""|*)
|
""|*)
|
||||||
gsl__logs_print \
|
gsl__logs_print \
|
||||||
"$gsl_log_e" \
|
"$gsl_log_w" \
|
||||||
"Post" \
|
"Post" \
|
||||||
"$gsl_log_h_link" \
|
"$gsl_log_h_link" \
|
||||||
"Offline:$gsl_url_status ${gsl_post_hf_2:0:40}..." \
|
"Offline:$gsl_url_status ${gsl_post_hf_2:0:40}..." \
|
||||||
"${PWD}/$gsl_post"
|
"${PWD}/$gsl_post"
|
||||||
# Decomment below if you want the error link avoiding convertion
|
|
||||||
#gsl_checker_err=true
|
|
||||||
gsl_checker_war=true
|
gsl_checker_war=true
|
||||||
#return
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -245,8 +242,7 @@ else
|
||||||
"$gsl_log_c_link" \
|
"$gsl_log_c_link" \
|
||||||
"Missing: _$gsl_post_hf_1" \
|
"Missing: _$gsl_post_hf_1" \
|
||||||
"${PWD}/$gsl_post"
|
"${PWD}/$gsl_post"
|
||||||
#gsl_checker_err=true
|
gsl_checker_err=true
|
||||||
gsl_checker_war=true
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue