diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-29 20:10:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-29 20:10:29 +0900 |
commit | bd8ed1f904969f853e747aaa1b942657908a3b00 (patch) | |
tree | 8f884d9ac9bb771c62fc2196d99f0b9ecb3a2894 /ruby.c | |
parent | 685efac05983dee44ce2d96c24f2fcb96a0aebe2 (diff) | |
download | ruby-bd8ed1f904969f853e747aaa1b942657908a3b00.tar.gz |
Do not call `exit()` directly
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |