summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 83bd60b..8daa6e2 100644
--- a/input.c
+++ b/input.c
@@ -125,7 +125,7 @@ static int fdgchar() {
} while (r < 0 && errno == EINTR);
if (r < 0) {
uerror("read");
- rc_exit(1);
+ rc_raise(eError);
}
chars_in = (size_t) r;
}