From f4a4c7cda043512ada81d7badfc2f35e8ce6e6f6 Mon Sep 17 00:00:00 2001 From: Nathaniel Kofalt Date: Sat, 18 May 2019 23:31:52 -0500 Subject: Output name of process on runlabel command Signed-off-by: Nathaniel Kofalt --- cmd/podman/runlabel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman') diff --git a/cmd/podman/runlabel.go b/cmd/podman/runlabel.go index c426817de..e87b88992 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 } -- cgit v1.2.3-54-g00ecf