summaryrefslogtreecommitdiffstats
path: root/askfirst.c
AgeCommit message (Collapse)Author
2013-09-17procd: Exit askfirst on read errorHelmut Schaa
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>
2013-07-23askfirst: remove superfluous 'close' calls on stdio file descriptors.Yousong Zhou
'dup2' will do it for us if necessary. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2013-03-13add askfirst toolJohn Crispin