From 341f43df4b3688702746b5d0365c05d99fdeeb4e Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sat, 15 Oct 2016 18:15:13 +0200 Subject: boot: Ignore EINTR. * boot/boot.c (main): Ignore EINTR in the loop processing stdin. --- boot/boot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot/boot.c b/boot/boot.c index 462243c3..02af0688 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -742,7 +742,8 @@ main (int argc, char **argv, char **envp) FD_SET (0, &rmask); if (select (1, &rmask, 0, 0, 0) == 1) read_reply (); - else /* We hosed */ + else if (errno != EINTR) + /* We hosed */ error (5, errno, "select"); } } -- cgit v1.2.3