summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorToby Goodwin <tjg@star.le.ac.uk>1999-11-10 14:55:51 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:10 +0100
commit3e9e4d3f8f518f8f467066593ae6f270d97f6d60 (patch)
tree7d41f75ee428d4bb332b9664c116a8a6ce6ccea0 /input.c
parent3815ffb98e9db3d593219cead05284f983eb6d71 (diff)
beta: rc-1.6b1
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;
}