summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index a19601700d6..e8a1dbbdd59 100644
--- a/eval.c
+++ b/eval.c
@@ -3869,7 +3869,7 @@ rb_longjmp(tag, mesg)
}
POP_TAG();
thread_reset_raised();
- JUMP_TAG(tag);
+ if (status) JUMP_TAG(status);
}
rb_trap_restore_mask();