Merge pull request #1141 from mattn/fix_exit

Fix exit
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-04-05 08:37:04 -07:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);
}
}