mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
fetch(1): correct progress accounting after previous commit
MFC after: 1 month
This commit is contained in:
parent
e3bad5f7aa
commit
a4efbe0d6d
@ -835,7 +835,7 @@ again:
|
||||
if (us.size != -1 && count < us.size) {
|
||||
warnx("%s appears to be truncated: %jd/%jd bytes",
|
||||
path, (intmax_t)count, (intmax_t)us.size);
|
||||
if(!o_stdout && a_flag && us.size > size_prev) {
|
||||
if(!o_stdout && a_flag && count > size_prev) {
|
||||
fclose(f);
|
||||
if (w_secs)
|
||||
sleep(w_secs);
|
||||
|
Loading…
Reference in New Issue
Block a user