]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tee: exit early if no more writable outputs
authorPádraig Brady <P@draigBrady.com>
Mon, 16 Feb 2015 13:19:20 +0000 (13:19 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 18 Feb 2015 23:41:27 +0000 (23:41 +0000)
commit3f2f05f06763d79a7cab525a3ea2d726df3e3736
tree77b3fb71882b8b790a8975c825cf0b14056d756c
parentced120406f47584eb672f9731d5fee0e62761c0c
tee: exit early if no more writable outputs

* src/tee.c (main): Don't continue reading if we can't
output anywhere.
* tests/misc/tee.sh: Ensure we exit when no more outputs.
* NEWS: Mention the change in behavior.
NEWS
src/tee.c
tests/misc/tee.sh