X-Git-Url: https://ruderich.org/simon/gitweb/?p=ptyas%2Fptyas.git;a=blobdiff_plain;f=ptyas.c;h=a67f8767cbb4e49a59df74bdcd59ff63df839828;hp=ab99f8ede71cf352d4d7aa2ef9c2af83a5b4ef06;hb=af7bb9eee274610bef414eaa97e7686d66d2f352;hpb=c8ffdb4777654018284c63d7824efca50e5d65b7 diff --git a/ptyas.c b/ptyas.c index ab99f8e..a67f876 100644 --- a/ptyas.c +++ b/ptyas.c @@ -217,9 +217,8 @@ static void proxy_input_between_ttys(int pty_master, int ctty, volatile pid_t *p if (ppoll(fds, nfds, NULL /* no timeout */, &sigset_old) == -1) { if (errno == EAGAIN || errno == EINTR) { continue; - } else { - perror("poll"); } + perror("poll"); break; }