pipe: On windows there is no stderr use stdin

Fixes - #1372
This commit is contained in:
Harshavardhana
2015-11-17 15:56:54 -08:00
parent 24bf38a053
commit 1a8dad77ee
+1 -1
View File
@@ -65,7 +65,7 @@ EXAMPLES:
func pipe(targetURLs []string) *probe.Error {
if len(targetURLs) == 0 {
// When no target is specified, pipe cat's stdin to stdout.
return catOut(os.Stderr).Trace()
return catOut(os.Stdin).Trace()
}
// Stream from stdin to multiple objects until EOF.