mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Ignore EACCES on Windows
This commit is contained in:
parent
35cfc9a3bb
commit
59eadf3d25
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ end
|
||||||
if File.respond_to?(:symlink)
|
if File.respond_to?(:symlink)
|
||||||
begin
|
begin
|
||||||
ln_sr(src, dest, verbose: true, target_directory: target_directory, force: force, noop: noop)
|
ln_sr(src, dest, verbose: true, target_directory: target_directory, force: force, noop: noop)
|
||||||
rescue NotImplementedError, Errno::EPERM
|
rescue NotImplementedError, Errno::EPERM, Errno::EACCES
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue