summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2022-10-21 15:01:50 +0900
committernagachika <nagachika@ruby-lang.org>2022-10-21 15:01:50 +0900
commit022ab25878fe9e1edee757510e40ecaec9fb2b69 (patch)
treefc6360661ec91920b1ea80c1a1310421ed3d7efa /tool
parent4388849ad3076ab0fe3586445cc1175a0358aba4 (diff)
merge revision(s) 59eadf3d25b0f53e7570f98f1801737af642f328:
Ignore EACCES on Windows --- tool/ln_sr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'tool')
-rw-r--r--tool/ln_sr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ln_sr.rb b/tool/ln_sr.rb
index 6ab412edde..81fd803355 100644
--- 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