Skip to content

Commit

Permalink
If CL_NODE is comma-separated, use just the first
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Oct 28, 2024
1 parent e36b7ce commit 466fe99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -2463,6 +2463,7 @@ keys() {
elif [ "${1:-}" = "send-exit" ]; then
__var="CL_NODE"
CL_NODE=$(sed -n -e "s/^${__var}=\(.*\)/\1/p" "${__env_file}" || true)
CL_NODE="${CL_NODE%%,*}"
__network_name="$(__docompose config | awk '
BEGIN {
found_networks=0;
Expand Down

0 comments on commit 466fe99

Please sign in to comment.