diff options
author | Denys Vlasenko | 2010-03-05 23:38:54 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-05 23:38:54 +0100 |
commit | cbcc1236f806f18e6386e6e1f495a9832b7d307d (patch) | |
tree | 57679535a2d1ac60a6f2b3a21dc6afa9028b0cc0 /libbb/progress.c | |
parent | 4b1100edd8180efa2e81860ef2fadeebcb21f5fa (diff) | |
download | busybox-cbcc1236f806f18e6386e6e1f495a9832b7d307d.zip busybox-cbcc1236f806f18e6386e6e1f495a9832b7d307d.tar.gz |
tftp: do not show progress bar if we get error right away. +13 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/progress.c')
-rw-r--r-- | libbb/progress.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/progress.c b/libbb/progress.c index 3a245ae..0e484da 100644 --- a/libbb/progress.c +++ b/libbb/progress.c @@ -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, |