summaryrefslogtreecommitdiff
path: root/builtins/read.def
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/read.def')
-rw-r--r--builtins/read.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/read.def b/builtins/read.def
index 914ebd7..4ba3375 100644
--- a/builtins/read.def
+++ b/builtins/read.def
@@ -472,6 +472,7 @@ add_char:
if (retval < 0)
{
builtin_error (_("read error: %d: %s"), fd, strerror (errno));
+ run_unwind_frame ("read_builtin");
return (EXECUTION_FAILURE);
}
#endif