Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cmd: Fix go routines at exit message to make it less confusing

Nick Craig-Wood09c14af6d133
diff --git a/cmd/cmd.go b/cmd/cmd.go
index f076ecc9f..48b35a8a0 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -319,7 +319,7 @@ func Run(Retry bool, showStats bool, cmd *cobra.Command, f func() error) {
if showStats && (accounting.Stats.Errored() || *statsInterval > 0) {
accounting.Stats.Log()
}
- fs.Debugf(nil, "Go routines at exit %d\n", runtime.NumGoroutine())
+ fs.Debugf(nil, "%d go routines active\n", runtime.NumGoroutine())
if accounting.Stats.Errored() {
resolveExitCode(accounting.Stats.GetLastError())
}