This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push: new 0531788 fix(jvm): Integration do not shutdown gracefully when jvm.print-command is set 0531788 is described below commit 05317880e6270fac48f10f9ee8b411ebacaed683 Author: Antonin Stefanutti <anto...@stefanutti.fr> AuthorDate: Wed Jun 24 18:50:45 2020 +0200 fix(jvm): Integration do not shutdown gracefully when jvm.print-command is set --- pkg/trait/jvm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/trait/jvm.go b/pkg/trait/jvm.go index 06c8833..110510a 100644 --- a/pkg/trait/jvm.go +++ b/pkg/trait/jvm.go @@ -165,7 +165,7 @@ func (t *jvmTrait) Apply(e *Environment) error { args = append(args, e.CamelCatalog.Runtime.ApplicationClass) if t.PrintCommand { - args = append([]string{"java"}, args...) + args = append([]string{"exec", "java"}, args...) container.Command = []string{"/bin/sh", "-c"} cmd := strings.Join(args, " ") container.Args = []string{"echo " + cmd + " && " + cmd}