mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
fetch(1): correct progress accounting after previous commit
MFC after: 1 month
This commit is contained in:
parent
e3bad5f7aa
commit
a4efbe0d6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue