ruderich.org/simon
/
ptyas
/
ptyas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ffdb4
)
Remove useless else
author
Simon Ruderich
<simon@ruderich.org>
Sat, 11 Feb 2017 01:32:12 +0000
(
02:32
+0100)
committer
Simon Ruderich
<simon@ruderich.org>
Sat, 11 Feb 2017 01:32:12 +0000
(
02:32
+0100)
ptyas.c
patch
|
blob
|
history
diff --git
a/ptyas.c
b/ptyas.c
index ab99f8ede71cf352d4d7aa2ef9c2af83a5b4ef06..a67f8767cbb4e49a59df74bdcd59ff63df839828 100644
(file)
--- 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;
}