aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/sandbox.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb
index 501a43e4d..4823baf7f 100644
--- a/Library/Homebrew/sandbox.rb
+++ b/Library/Homebrew/sandbox.rb
@@ -95,6 +95,10 @@ class Sandbox
-k Sender sandboxd
]
logs = Utils.popen_read("syslog", *syslog_args)
+
+ # These messages are confusing and non-fatal, so don't report them.
+ logs = logs.lines.reject{ |l| l.match(/^.*Python\(\d+\) deny file-write.*pyc$/) }.join
+
unless logs.empty?
if @logfile
log = open(@logfile, "w")