]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: fix quit dialog for non-libreadline version
authorKarel Zak <kzak@redhat.com>
Thu, 5 Sep 2019 10:34:01 +0000 (12:34 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Sep 2019 10:34:01 +0000 (12:34 +0200)
commit40af0db4cdadc50d9ba7ea77d8fa0689bf976f9f
tree088737ad0269df235fc33a8682a127325287a873
parentfff85eb577d0547d90304143d699ef7e46d9a406
fdisk: fix quit dialog for non-libreadline version

We need to clear stdin errors otherwise it returns EOF forever after
CTRL+D.

Reported-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.c