Do not call exit()
directly
This commit is contained in:
parent
685efac059
commit
bd8ed1f904
2
ruby.c
2
ruby.c
@ -1819,7 +1819,7 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
|
|||||||
#if USE_MJIT
|
#if USE_MJIT
|
||||||
if (opt->mjit.on) {
|
if (opt->mjit.on) {
|
||||||
rb_warn("MJIT and YJIT cannot both be enabled at the same time. Exiting");
|
rb_warn("MJIT and YJIT cannot both be enabled at the same time. Exiting");
|
||||||
exit(1);
|
return Qfalse;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if YJIT_BUILD
|
#if YJIT_BUILD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user