I was getting this error from one of my devices:
WGET: http://host.example.com Cant get file: info.txt and save
locally as: /var/www/html/info.txt Return code: wget exited with value 2
Investigation revealed it was pukinng on the -C option. Once I
removed '-C off' from the wget command it functioned normally again.
So, can I take this to mean that 'wget exited with value 2' always
indicates a problem with switches/options?
Where can I get a full list of exit values and what they indicate?
Thanks!
Robert