diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-06-13 20:16:22 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-06-13 20:16:22 +0200 |
commit | 4fc69950daa00a2fa90bf98dc58ac1bc0d4d1869 (patch) | |
tree | ed844f9020a58f5178a3ffad9593585c448dfe6d | |
parent | e7979da9e8ee40fa083f31736a84122a7a99ab47 (diff) | |
download | wget-4fc69950daa00a2fa90bf98dc58ac1bc0d4d1869.tar.gz |
* src/http.c (http_loop): Fix --retry-on-host-error
-rw-r--r-- | src/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4386,6 +4386,8 @@ http_loop (const struct url *u, struct url *original_url, char **newloc, logputs (LOG_VERBOSE, "\n"); logprintf (LOG_NOTQUIET, _("Cannot write to %s (%s).\n"), quote (hstat.local_file), strerror (errno)); + ret = err; + goto exit; case HOSTERR: /* Fatal unless option set otherwise. */ if ( opt.retry_on_host_error ) |