From 89e3efae0093896fb93b63d692206932cd938192 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 29 Jan 2013 14:37:03 -0800 Subject: [PATCH] Only print launchctl tmux warning conditionally. --- Library/Homebrew/caveats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 926614d0a0..526cb8a1ca 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -95,7 +95,7 @@ class Caveats s << " launchctl load #{plist_link}" end end - s << '' << "WARNING: launchctl will fail when run under tmux." + s << '' << "WARNING: launchctl will fail when run under tmux." if ENV['TMUX'] end s.join("\n") unless s.empty? end