aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/keg_fix_install_names.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/keg_fix_install_names.rb')
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index 927ed7d45..9706f1b06 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -47,7 +47,7 @@ class Keg
begin
first.atomic_write(s)
- rescue Errno::EACCES
+ rescue SystemCallError
first.ensure_writable do
first.open("wb") { |f| f.write(s) }
end