bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] contributing to wget


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] contributing to wget
Date: Fri, 11 Jun 2010 12:24:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hrvoje Niksic <address@hidden> writes:

> "address@hidden" <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]