diff --git a/lib/tasks/exec_command.rake b/lib/tasks/exec_command.rake index 3bf992f..13c0322 100644 --- a/lib/tasks/exec_command.rake +++ b/lib/tasks/exec_command.rake @@ -141,7 +141,7 @@ namespace :exec_commands do outputs = [] @flag = (@type == "exec_all") if update - update_thread_infos_for_exec("execing #{command} on on #{@site_construct.domain_name}") if @flag + update_thread_infos_for_exec("execing #{command} on on #{@site_construct.domain_name}") if @flag update_infos_for_exec("execing #{command}") end session.open_channel do |channel| @@ -169,7 +169,7 @@ namespace :exec_commands do end channel.on_close do |ch| if update - update_thread_infos_for_exec("finish execing #{command} on #{@site_construct.domain_name}") if @flag + update_thread_infos_for_exec("finish execing #{command} on #{@site_construct.domain_name}") if @flag update_infos_for_exec("finish execing #{command}") end end