Skip to content

Commit a11f8b0

Browse files
chore: write speedtest connection updates to stderr (#13550)
1 parent dd99897 commit a11f8b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/speedtest.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ func (r *RootCmd) speedtest() *serpent.Command {
139139
}
140140
peer := status.Peer[status.Peers()[0]]
141141
if !p2p && direct {
142-
cliui.Infof(inv.Stdout, "Waiting for a direct connection... (%dms via %s)", dur.Milliseconds(), peer.Relay)
142+
cliui.Infof(inv.Stderr, "Waiting for a direct connection... (%dms via %s)", dur.Milliseconds(), peer.Relay)
143143
continue
144144
}
145145
via := peer.Relay
146146
if via == "" {
147147
via = "direct"
148148
}
149-
cliui.Infof(inv.Stdout, "%dms via %s", dur.Milliseconds(), via)
149+
cliui.Infof(inv.Stderr, "%dms via %s", dur.Milliseconds(), via)
150150
break
151151
}
152152
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy