summaryrefslogtreecommitdiff
path: root/shell/shell_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r--shell/shell_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index 2e36d92..13163ac 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -196,6 +196,7 @@ shell_builtin_read(struct builtin_read_params *params)
*/
errno = 0;
pfd[0].events = POLLIN;
+//TODO race with a signal arriving just before the poll!
if (poll(pfd, 1, timeout) <= 0) {
/* timed out, or EINTR */
err = errno;