Join in run_over_ssh instead of all over

This commit is contained in:
David Heinemeier Hansson
2023-02-04 10:14:31 +01:00
parent 6032d5651a
commit e7ac73be5a
5 changed files with 17 additions and 15 deletions

View File

@@ -64,11 +64,11 @@ class Mrsk::Commands::Accessory < Mrsk::Commands::Base
end
def execute_in_existing_container_over_ssh(*command)
run_over_ssh execute_in_existing_container(*command, interactive: true).join(" ")
run_over_ssh execute_in_existing_container(*command, interactive: true)
end
def execute_in_new_container_over_ssh(*command)
run_over_ssh execute_in_new_container(*command, interactive: true).join(" ")
run_over_ssh execute_in_new_container(*command, interactive: true)
end
def run_over_ssh(command)