Skip to content

Commit

Permalink
Output name of process on runlabel command
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Kofalt <[email protected]>
  • Loading branch information
kofalt committed May 19, 2019
1 parent 00ecbfc commit f4a4c7c
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 f4a4c7c

Please sign in to comment.