aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/sandbox.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/sandbox.rb')
-rw-r--r--Library/Homebrew/sandbox.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb
index e847744ad..501a43e4d 100644
--- a/Library/Homebrew/sandbox.rb
+++ b/Library/Homebrew/sandbox.rb
@@ -8,18 +8,6 @@ class Sandbox
OS.mac? && File.executable?(SANDBOX_EXEC)
end
- # there are times the sandbox cannot be used.
- def self.auto_disable?
- @auto_disable ||= ARGV.interactive? || ARGV.debug?
- end
-
- def self.print_autodisable_warning
- unless @printed_autodisable_warning
- opoo "The sandbox cannot be used in debug or interactive mode."
- @printed_autodisable_warning = true
- end
- end
-
def self.print_sandbox_message
unless @printed_sandbox_message
ohai "Using the sandbox"