[Libguestfs] [libnbd PATCH] copy: Write progress to stderr, not /dev/tty

Eric Blake eblake at redhat.com
Fri Sep 2 19:53:42 UTC 2022


On Fri, Sep 02, 2022 at 06:58:53PM +0100, Richard W.M. Jones wrote:
> On Fri, Sep 02, 2022 at 10:25:38AM -0500, Eric Blake wrote:
> > dd writes progress messages to stderr, with no complaints.  Having
> > nbdcopy open /dev/tty instead of reusing stderr to write messages
> > litters the output of a terminal during an interactive 'make check',
> > which is rather distracting, even though that test also ran a second
> > copy using a different fd for inspecting the output.
> > 
> > Fixes: 1df1b05a ("New nbdcopy tool", v1.3.8)
> 
> ACK
> 
> Thanks for looking at this,

Now in as d4d4e70d

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


More information about the Libguestfs mailing list