On 1/23/07, Gerard Seibert <[EMAIL PROTECTED]> wrote:

Does the latest version of 'wget' support exit codes? I know that the
older versions did not.

Thanks!



i checked the latest source code in svn,
and the answer is still no.

but, i *guess* you may hack it by modifying the last few lines
from
 if (status == RETROK)
   return 0;
 else
   return 1;
to
 return status;

the exit codes're defined in wget.h

but i didn't try that, do it on your own risk. ;)

--
Best Regards,
Leo Jay

Reply via email to