• P
    virsh: Fix job watching when STDIN is not a tty · 47e63966
    Peter Krempa 提交于
    In commit b46c4787 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.
    47e63966
virsh.c 85.2 KB