From 44464381d4ca9ce67ef58628628b6abd05888d9b Mon Sep 17 00:00:00 2001 From: Bohung Date: Sun, 25 Apr 2021 23:09:28 +0800 Subject: [PATCH] Fix bug. --- lib/tasks/exec_command.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/exec_command.rake b/lib/tasks/exec_command.rake index 13c0322..08fbe2f 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