mog: fix 'tee' command so that it actually outputs to stdout
commit4f57bb12f080de0ba7314319b1f1434e0c2e40a8
authorEric Wong <normalperson@yhbt.net>
Fri, 31 Oct 2008 21:54:14 +0000 (31 14:54 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 31 Oct 2008 22:42:51 +0000 (31 15:42 -0700)
tree30b873cf9a8c729c2ee5907f4293c92392557856
parent746c453e030190392a0743e8b935a38eab899a7f
mog: fix 'tee' command so that it actually outputs to stdout

However, if the stdout stream is pointing to /dev/null, then
just avoid writing anything to save the function call overhead
entirely.
bin/mog