summaryrefslogtreecommitdiff
path: root/tool/ln_sr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/ln_sr.rb')
-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