From ed97055567b25dc5800f8819325ee30f4e03b4bb Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 8 Jun 2012 17:08:03 -0400 Subject: [PATCH] updates --- lib/cap-pack.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cap-pack.rb b/lib/cap-pack.rb index 00c1be0..3421b55 100644 --- a/lib/cap-pack.rb +++ b/lib/cap-pack.rb @@ -4,7 +4,7 @@ Capistrano::Configuration.instance.load do def tty_ssh_command_in_current_host(command, hostname = current_host) user_ssh_command = fetch(:user, nil) ? "-l #{fetch(:user)}" : '' - exec %{ssh #{user_ssh_command} #{hostname} -t "#{user_shell_method} 'cd #{current_path} && #{command}'"}.tap { |o| p o } + exec %{ssh #{user_ssh_command} #{hostname} -t "#{user_shell_method} 'cd #{current_path} && #{command}'"} end def current_host