Environment
Linux
Docs https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html https://www.gnu.org/software/wget/manual/html_node/Sample-Wgetrc.html#Sample-Wgetrc
Error
[Sun Aug 12 15:37:50 CEST 2018] Http already initialized.
[Sun Aug 12 15:37:51 CEST 2018] _WGET='wget -q -d ’
[Sun Aug 12 15:37:51 CEST 2018] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html 7 for error code: 2
[Sun Aug 12 15:37:51 CEST 2018] options=‘s/^ *//g’
How to Fix?
set wget variables in ~/.wgetrc file, content:
background=off timeout=5 wait=5 tries=5 verbose=off