On Sat, Jun 13, 2020 at 03:32:47AM +0200, Roland Hieber wrote: > Still log this as a warning so it is (hopefully) seen.
Actually, I'd like to keep this. We have two reasons for multiple URLs: 1. The primary URL is flaky 2. Upstream moves older versions to a different directory. In those cases we get a 404 or connection failures. A HTML file usually means, that the website changed and that is something I want to fix. Michael > Signed-off-by: Roland Hieber <[email protected]> > --- > scripts/lib/ptxd_make_get.sh | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh > index d5003384619b..f9aa3c7a0ec9 100644 > --- a/scripts/lib/ptxd_make_get.sh > +++ b/scripts/lib/ptxd_make_get.sh > @@ -97,7 +97,9 @@ ptxd_make_get_http() { > --write-out '\n%{url_effective}\n' \ > "${url}" && > if grep -i "content-type:" "${temp_header}" | tail -n 1 | grep > -q "text/html"; then > - ptxd_bailout "Got HTML file" > + ptxd_warning "Got HTML file" > + ptxd_make_serialize_put > + return 1 > fi > ptxd_make_serialize_put > return > -- > 2.27.0 > > > _______________________________________________ > ptxdist mailing list > [email protected] > To unsubscribe, send a mail with subject "unsubscribe" to > [email protected] > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
