Skip to content

Commit

Permalink
Make sure to stop progressbar on exit
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: rht <rudyht@gmail.com>
  • Loading branch information
rht committed Jun 9, 2015
1 parent feba3e1 commit f26a546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/commands/cat.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ it contains.

reader := bar.NewProxyReader(res.Output().(io.Reader))
res.SetOutput(reader)
defer bar.Finish()
},
}

Expand Down

0 comments on commit f26a546

Please sign in to comment.