We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ec4e1e + 8ae5f7a commit 89b06d4Copy full SHA for 89b06d4
1 file changed
Yolk/entrypoint.sh
@@ -451,7 +451,7 @@ run_sbox() {
451
fi
452
453
if [ -n "${resolved_server_name}" ]; then
454
- args+=( +hostname "\"${resolved_server_name}\"" )
+ args+=( +hostname "${resolved_server_name}" )
455
456
457
unset DOTNET_ROOT DOTNET_ROOT_X86 DOTNET_ROOT_X64
@@ -473,8 +473,9 @@ run_sbox() {
473
continue
474
475
if [[ "$arg" == "+hostname" && $((i+1)) -lt ${#args[@]} ]]; then
476
- # Always log +hostname and its value as a single quoted argument
477
- redacted_args+=( "+hostname \"${args[$((i+1))]}\"" )
+ # Log +hostname and its value as two separate elements, but quote the value for the log output
+ redacted_args+=( "+hostname" )
478
+ redacted_args+=( "\"${args[$((i+1))]}\"" )
479
i=$((i+2))
480
481
0 commit comments