Skip to content

Commit

Permalink
fix: pass command arguments down (#4830)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Dec 21, 2023
1 parent 9881c19 commit cf44dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/executor/init/pkg/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (r *InitRunner) Run(ctx context.Context, execution testkube.Execution) (res
}

if len(execution.Command) != 0 {
entrypoint += strconv.Quote(filepath.Join(r.Params.DataDir, commandScriptName)) + "\n"
entrypoint += strconv.Quote(filepath.Join(r.Params.DataDir, commandScriptName)) + " $@\n"
command += strings.Join(execution.Command, " ")
command += " \"$@\"\n"
}
Expand Down

0 comments on commit cf44dca

Please sign in to comment.