mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
mjit.c: hide path search error behind verbose()
Before r63744, we let execvp(3) fail instead and it was quiet. The verbosity was causing test_search to fail in test/ruby/test_rubyoptions.rb when PATH is set to /tmp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
33d0be1500
commit
e85693fc77
2
mjit.c
2
mjit.c
@ -367,7 +367,7 @@ start_process(const char *path, char *const *argv)
|
||||
int dev_null;
|
||||
|
||||
if (!abspath) {
|
||||
fprintf(stderr, "failed to find `%s' in PATH\n", path);
|
||||
verbose(1, "MJIT: failed to find `%s' in PATH\n", path);
|
||||
return -1;
|
||||
}
|
||||
dev_null = rb_cloexec_open(ruby_null_device, O_WRONLY, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user