diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-09 11:35:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-09 11:36:15 +0900 |
commit | 59eadf3d25b0f53e7570f98f1801737af642f328 (patch) | |
tree | c608d068b9cec5c9d8358e3b12bec96ef56c2c62 | |
parent | 35cfc9a3bb0078c297eb70520216ad228f2083e1 (diff) | |
download | ruby-59eadf3d25b0f53e7570f98f1801737af642f328.tar.gz |
Ignore EACCES on Windows
-rwxr-xr-x | tool/ln_sr.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ln_sr.rb b/tool/ln_sr.rb index 6ab412edde..81fd803355 100755 --- a/tool/ln_sr.rb +++ b/tool/ln_sr.rb @@ -116,7 +116,7 @@ end if File.respond_to?(:symlink) begin 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 exit end |