diff options
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -602,7 +602,9 @@ func main() { } fmt.Fprintf(os.Stderr, "Starting fbtracert with %d probes per second/ttl, base src port %d and with the port span of %d\n", *probeRate, *baseSrcPort, *maxSrcPorts) - fmt.Fprintf(os.Stderr, "Use '-logtostderr=true' cmd line option to see GLOG output\n") + if flag.Lookup("logtostderr").Value.String() != "true" { + fmt.Fprintf(os.Stderr, "Use '-logtostderr=true' cmd line option to see GLOG output\n") + } // this will catch senders quitting - we have one sender per ttl senderDone := make([]chan struct{}, *maxTTL) |