procd: Exit askfirst on read error
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 17 Sep 2013 06:48:48 +0000 (06:48 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 17 Sep 2013 19:30:09 +0000 (21:30 +0200)
When running askfirst on an unused tty device askfirst starts
busylooping forever. Fix this by returning an error if we read
an EOF.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

No differences found