tftp: do not show progress bar if we get error right away. +13 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -57,6 +57,7 @@ void FAST_FUNC bb_progress_init(bb_progress_t *p)
|
||||
p->start_sec = monotonic_sec();
|
||||
p->lastupdate_sec = p->start_sec;
|
||||
p->lastsize = 0;
|
||||
p->inited = 1;
|
||||
}
|
||||
|
||||
void FAST_FUNC bb_progress_update(bb_progress_t *p,
|
||||
|
Reference in New Issue
Block a user