Skip to content

Commit

Permalink
store the command in cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Nov 28, 2024
1 parent 6196317 commit 950aec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion list_test_runner_machines
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ docker_or_podman_ps_cmd () {
}

machine_list_cgal_test_container () {
cmd=$(docker_or_podman_ps_cmd)
echo
echo '```plain'
docker_or_podman_ps_cmd | ssh $1 bash -s
printf '%s\n' "$cmd" | ssh $1 bash -s
echo '```'
}

Expand Down

0 comments on commit 950aec1

Please sign in to comment.