summaryrefslogtreecommitdiffstats
path: root/initd/preinit.c
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2013-09-17 08:48:48 +0200
committerJohn Crispin <blogic@openwrt.org>2013-09-17 21:30:09 +0200
commitf51f9cc5738d340423e44e678829402b367cf866 (patch)
treef549312af39e931c54c6a0a1073b38c3119567c2 /initd/preinit.c
parentb803c65259b426a2b2ba14d342bec4de598734b8 (diff)
downloadunitd-f51f9cc5738d340423e44e678829402b367cf866.tar
unitd-f51f9cc5738d340423e44e678829402b367cf866.zip
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 <helmut.schaa@googlemail.com>
Diffstat (limited to 'initd/preinit.c')
0 files changed, 0 insertions, 0 deletions