1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Do not call exit() directly

This commit is contained in:
Nobuyoshi Nakada 2022-06-29 20:10:29 +09:00
parent 685efac059
commit bd8ed1f904
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

2
ruby.c
View file

@ -1819,7 +1819,7 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
#if USE_MJIT
if (opt->mjit.on) {
rb_warn("MJIT and YJIT cannot both be enabled at the same time. Exiting");
exit(1);
return Qfalse;
}
#endif
#if YJIT_BUILD