]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: fix inconsistent -q, use poll() rather then O_NONBLOCK
authorKarel Zak <kzak@redhat.com>
Thu, 16 Jan 2014 12:18:24 +0000 (13:18 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 16 Jan 2014 12:18:24 +0000 (13:18 +0100)
commit968e632cdbd2e5bb5d462a73a2c3b26293d42890
tree7ff2f753b1e95020a6cb5f5fcc24df98b0ecbe8a
parent38374be4c857bfe2129d278e81fe4ed505ef0077
script: fix inconsistent -q, use poll() rather then O_NONBLOCK

 - don't suppress "Script done" message in typescript file by -q
   (note that -q has no effect to "Script started" message)

 - simplify the code by poll()

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.c