add back receiver bar

This commit is contained in:
Zack Scholl 2018-06-24 07:11:42 -07:00
parent b3847798a4
commit 26ef99c170
1 changed files with 1 additions and 2 deletions

View File

@ -589,8 +589,7 @@ func (c *Connection) runClient(serverName string) error {
responses.startTime = time.Now()
responses.Unlock()
if !c.Debug && id == 0 {
c.bar.Finish()
c.bar.Reset()
c.bar = progressbar.NewOptions(c.File.Size, progressbar.OptionSetWriter(os.Stderr))
} else {
// try to let the first thread start first
time.Sleep(10 * time.Millisecond)