mirror of
https://github.com/mirror/wget.git
synced 2025-03-04 23:00:22 +08:00
* src/init.c (cmd_use_askpass): Return false on error
This commit is contained in:
parent
64758655c4
commit
70042265be
@ -1432,7 +1432,7 @@ cmd_use_askpass (const char *com _GL_UNUSED, const char *val, void *place)
|
||||
if (!(env && *env))
|
||||
{
|
||||
fprintf (stderr, _("use-askpass requires a string or either environment variable WGET_ASKPASS or SSH_ASKPASS to be set.\n"));
|
||||
exit (WGET_EXIT_GENERIC_ERROR);
|
||||
return false;
|
||||
}
|
||||
|
||||
return cmd_string (com, env, place);
|
||||
|
Loading…
Reference in New Issue
Block a user