On 10/22/2013 04:05 PM, Peter Krempa wrote: > In commit b46c4787dde79b015dad67dedda4ccf6ff1a3082 I changed the code to > watch long running jobs in virsh. Unfortunately I didn't take into > account that poll may get a hangup if the terminal is not a TTY and will > be closed. > > This patch avoids polling the STDIN fd when there's no TTY. > --- > tools/virsh-domain.c | 7 ++++++- > tools/virsh.c | 7 +++++++ > tools/virsh.h | 2 ++ > 3 files changed, 15 insertions(+), 1 deletion(-) ACK Jan -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list