diff options
author | Nathaniel Kofalt <nathaniel@kofalt.com> | 2019-05-18 23:31:52 -0500 |
---|---|---|
committer | Nathaniel Kofalt <nathaniel@kofalt.com> | 2019-05-18 23:31:52 -0500 |
commit | f4a4c7cda043512ada81d7badfc2f35e8ce6e6f6 (patch) | |
tree | bf025baf4c62b6936e5bf5741588dcef23dcea59 /cmd/podman/runlabel.go | |
parent | 00ecbfc1315a62940202574fb45f2ae2f4c48b63 (diff) | |
download | podman-f4a4c7cda043512ada81d7badfc2f35e8ce6e6f6.tar.gz podman-f4a4c7cda043512ada81d7badfc2f35e8ce6e6f6.tar.bz2 podman-f4a4c7cda043512ada81d7badfc2f35e8ce6e6f6.zip |
Output name of process on runlabel command
Signed-off-by: Nathaniel Kofalt <nathaniel@kofalt.com>
Diffstat (limited to 'cmd/podman/runlabel.go')
-rw-r--r-- | cmd/podman/runlabel.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |