diff options
-rw-r--r-- | usr.bin/fetch/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 4eff618..051b895 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -486,7 +486,7 @@ fetch(char *URL, const char *path) "does not match remote", path); goto failure_keep; } - } else { + } else if (us.size != -1) { if (us.size == sb.st_size) /* nothing to do */ goto success; |