mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix error message when $WGETRC not found.
Published in <sxswuzrylnm.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
f031900662
commit
0f120eee66
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
|
* init.c (wgetrc_file_name): Print correct message when loading
|
||||||
|
getenv("WGETRC") fails.
|
||||||
|
|
||||||
2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
|
2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* recur.c (register_download): Don't abort when one URL references
|
* recur.c (register_download): Don't abort when one URL references
|
||||||
|
@ -301,7 +301,7 @@ wgetrc_file_name (void)
|
|||||||
{
|
{
|
||||||
if (!file_exists_p (env))
|
if (!file_exists_p (env))
|
||||||
{
|
{
|
||||||
fprintf (stderr, "%s: %s: %s.\n", exec_name, file, strerror (errno));
|
fprintf (stderr, "%s: %s: %s.\n", exec_name, env, strerror (errno));
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
return xstrdup (env);
|
return xstrdup (env);
|
||||||
|
Loading…
Reference in New Issue
Block a user