From aa093e991e82e9372a0683847dfc0e068c938825 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 28 Feb 2015 14:39:00 +0000 Subject: [PATCH] Ensure all stats/log messages to go stderr - fixes #30 --- rclone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclone.go b/rclone.go index 2cbf39792..77c66b213 100644 --- a/rclone.go +++ b/rclone.go @@ -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())