mirror of
https://github.com/rclone/rclone.git
synced 2025-02-16 18:41:54 +01:00
Ensure all stats/log messages to go stderr - fixes #30
This commit is contained in:
parent
a5974999eb
commit
aa093e991e
@ -376,7 +376,7 @@ func main() {
|
|||||||
if command.Run != nil {
|
if command.Run != nil {
|
||||||
command.Run(fdst, fsrc)
|
command.Run(fdst, fsrc)
|
||||||
if !command.NoStats {
|
if !command.NoStats {
|
||||||
fmt.Println(fs.Stats)
|
fmt.Fprintln(os.Stderr, fs.Stats)
|
||||||
}
|
}
|
||||||
if fs.Config.Verbose {
|
if fs.Config.Verbose {
|
||||||
fs.Debug(nil, "Go routines at exit %d\n", runtime.NumGoroutine())
|
fs.Debug(nil, "Go routines at exit %d\n", runtime.NumGoroutine())
|
||||||
|
Loading…
Reference in New Issue
Block a user