summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index bbda83a..a7b231e 100644
--- a/main.c
+++ b/main.c
@@ -308,7 +308,10 @@ identified:
FD_SET(0, &fds);
if(select(1, &fds, NULL, NULL, &tv) <= 0)
+ {
+ ret = 1;
break;
+ }
delay = 0;
}
OpenPOWER on IntegriCloud