diff options
Diffstat (limited to 'Library/Homebrew/sandbox.rb')
| -rw-r--r-- | Library/Homebrew/sandbox.rb | 11 | 
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index 3affa4f95..7ad845d5e 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -14,9 +14,16 @@ class Sandbox    end    def self.print_autodisable_warning -    unless @print_autodisable_warning +    unless @printed_autodisable_warning        opoo "The sandbox cannot be used in debug or interactive mode." -      @print_autodisable_warning = true +      @printed_autodisable_warning = true +    end +  end + +  def self.print_sandbox_message +    unless @printed_sandbox_message +      ohai "Using the sandbox" +      @printed_sandbox_message = true      end    end  | 
