Ensure all stats/log messages to go stderr - fixes #30
This commit is contained in:
parent
a5974999eb
commit
aa093e991e
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ func main() {
|
|||
if command.Run != nil {
|
||||
command.Run(fdst, fsrc)
|
||||
if !command.NoStats {
|
||||
fmt.Println(fs.Stats)
|
||||
fmt.Fprintln(os.Stderr, fs.Stats)
|
||||
}
|
||||
if fs.Config.Verbose {
|
||||
fs.Debug(nil, "Go routines at exit %d\n", runtime.NumGoroutine())
|
||||
|
|
Loading…
Reference in a new issue