summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index b8b3553641..a77f35e6d2 100644
--- a/cont.c
+++ b/cont.c
@@ -858,7 +858,7 @@ rb_fiber_start(void)
TH_POP_TAG();
if (state) {
- if (TAG_RAISE) {
+ if (state == TAG_RAISE) {
th->thrown_errinfo = th->errinfo;
}
else {