Re: [PATCH] virsh: Fix job watching when STDIN is not a tty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/22/13 15:26, Ján Tomko wrote:
> 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
> 

Pushed; Thanks.

Peter

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]