> $ wget --spider BAD_URL GOOD_URL; echo $? > 0 > $ wget --spider GOOD_URL BAD_URL; echo $? > 1 > I say they both should be 1. > If anything bad happens, return 1 or some other non-zero value.
I'm glad I'm not the only one to complain about this issue. I wasted a lot of time taiming my downloads just because wget has no proper exit status handling (see my posting about "BUG in --timeout (exit status)") Manfred -- GMX Weihnachts-Special: Seychellen-Traumreise zu gewinnen! Rentier entlaufen. Finden Sie Rudolph! Als Belohnung winken tolle Preise. http://www.gmx.net/de/cgi/special/ +++ GMX - die erste Adresse für Mail, Message, More! +++