mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The description of the -S option in the man page says we won't fail if the
remote size is unknown, but we do. Resolve this in the man page's favor. Requested by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 1 week
This commit is contained in:
parent
e545e3c55c
commit
adce61f9b4
1 changed files with 0 additions and 1 deletions
|
|
@ -443,7 +443,6 @@ fetch(char *URL, const char *path)
|
|||
if (S_size) {
|
||||
if (us.size == -1) {
|
||||
warnx("%s: size unknown", URL);
|
||||
goto failure;
|
||||
} else if (us.size != S_size) {
|
||||
warnx("%s: size mismatch: expected %jd, actual %jd",
|
||||
URL, (intmax_t)S_size, (intmax_t)us.size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue