Skip to content

Commit

Permalink
Merge pull request #191 from andrew-drupal/sshd-truncated-variable-fix
Browse files Browse the repository at this point in the history
Fix variables with equals signs truncated in SSH sessions
  • Loading branch information
csandanov authored Mar 28, 2024
2 parents 29cb924 + 9709c23 commit de07414
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 8/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ init_sshd() {
&& $1 != "PWD" \
&& $1 != "SHLVL") { \
\
for (i = 3; i <= NF; i++) { \
$2 = ""$2"="$i"" \
} \
print ""$1"="$2"" \
} \
}' > "${ssh_dir}/environment"
Expand Down

0 comments on commit de07414

Please sign in to comment.