From 28cb9fe1e4977597bf4cbf29e8a7e696bfc1d8a8 Mon Sep 17 00:00:00 2001 From: Bohung Date: Sun, 25 Apr 2021 22:59:40 +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 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