Merge pull request #1395 from harshavardhana/pipe

pipe: On windows there is no stderr use stdin
This commit is contained in:
Harshavardhana
2015-11-17 16:01:44 -08:00
+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.