From: Helmut Schaa Date: Tue, 17 Sep 2013 06:48:48 +0000 (+0000) Subject: procd: Exit askfirst on read error X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=f51f9cc5738d340423e44e678829402b367cf866;hp=f51f9cc5738d340423e44e678829402b367cf866 procd: Exit askfirst on read error 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 ---