From f4a4c7cda043512ada81d7badfc2f35e8ce6e6f6 Mon Sep 17 00:00:00 2001 From: Nathaniel Kofalt Date: Sat, 18 May 2019 23:31:52 -0500 Subject: [PATCH] Output name of process on runlabel command Signed-off-by: Nathaniel Kofalt --- cmd/podman/runlabel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/podman/runlabel.go b/cmd/podman/runlabel.go index c426817de3..e87b889925 100644 --- a/cmd/podman/runlabel.go +++ b/cmd/podman/runlabel.go @@ -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 }