Skip to content

Commit

Permalink
Merge pull request containers#3158 from kofalt/runlabel-formating
Browse files Browse the repository at this point in the history
Output name of process on runlabel command
  • Loading branch information
openshift-merge-robot authored May 20, 2019
2 parents 5c0dfd0 + f4a4c7c commit a83edf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/podman/runlabel.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func runlabelCmd(c *cliconfig.RunlabelValues) error {
return err
}
if !c.Quiet {
fmt.Printf("command: %s\n", strings.Join(cmd, " "))
fmt.Printf("command: %s\n", strings.Join(append([]string{os.Args[0]}, cmd[1:]...), " "))
if c.Display {
return nil
}
Expand Down

0 comments on commit a83edf2

Please sign in to comment.