Hrvoje Niksic <hnik...@xemacs.org> writes: > "v...@mage.me.uk" <v...@mage.me.uk> writes: > >> Thanks for the encouragement! I've attached a patch which should tell >> the user there is a problem with the system wgetrc file and exit. Seems >> suspiciously simple, can anyone spot any problems with it? > [...] >> + /*If there are any problems parsing the system wgetrc file, tell the user >> and exit*/ >> + if (!ok) >> + { >> + fprintf(stderr, _("Parsing system wgetrc file failed; please check >> '%s'.\n"), SYSTEM_WGETRC); >> + exit(2); >> + } > > Is there a way for Wget to recover from this error? The user who runs > Wget might not have superuser privileges needed to correct this problem.
Good point. It is a good idea to don't exit here, at least until #20635 is not done. Thanks, Giuseppe