Commit 1541a61f authored by mattn's avatar mattn

Fix exit

parent 97aee949
......@@ -355,7 +355,7 @@ genop_peep(codegen_scope *s, mrb_code i, int val)
static void
scope_error(codegen_scope *s)
{
exit(1);
exit(EXIT_FAILURE);
}
static inline void
......
......@@ -18,7 +18,7 @@ mrb_init_mrbtest(mrb_state *mrb)
#endif
if (mrb->exc) {
mrb_p(mrb, mrb_obj_value(mrb->exc));
exit(0);
exit(EXIT_FAILURE);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment