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:
parent
4b1100edd8
commit
cbcc1236f8
5 changed files with 14 additions and 8 deletions
|
@ -135,7 +135,8 @@ static void tftp_progress_init(void)
|
|||
}
|
||||
static void tftp_progress_done(void)
|
||||
{
|
||||
progress_meter(0);
|
||||
if (G.pmt.inited)
|
||||
progress_meter(0);
|
||||
}
|
||||
#else
|
||||
# define tftp_progress_init() ((void)0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue