On 10/25/2012 02:35 PM, Cole Robinson wrote: >> Thinking about it a bit more, should we be checking if stderr, rather >> than stdin, is a ttty? That is, if you run 'libvirtd </dev/null' from a >> terminal, don't you still want output to the stderr tty? >> > > But the libvirtd > out 2>&1 is going to stop working which is a lot more > useful then anything stdin related.
Fair enough - I'm happy to leave the isatty() check on stdin alone. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list