Skip to content

Commit

Permalink
tiup: fix print duplicated component path
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar committed Apr 2, 2022
1 parent 9060112 commit b757b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exec/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func RunComponent(env *environment.Environment, tag, spec, binPath string, args
return err
}

fmt.Fprintf(os.Stderr, "Starting component `%s`: %s\n", component, strings.Join(append([]string{binPath}, c.Args...), " "))
fmt.Fprintf(os.Stderr, "Starting component `%s`: %s\n", component, strings.Join(c.Args, " "))
err = c.Start()
if err != nil {
return errors.Annotatef(err, "Failed to start component `%s`", component)
Expand Down

0 comments on commit b757b39

Please sign in to comment.