diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -685,7 +685,10 @@ ruby_options(argc, argv) eval_tree = save; } POP_TAG(); - if (state) error_print(); + if (state) { + error_print(); + exit(1); + } } static VALUE |