summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorNathaniel Kofalt <nathaniel@kofalt.com>2019-05-18 23:31:52 -0500
committerNathaniel Kofalt <nathaniel@kofalt.com>2019-05-18 23:31:52 -0500
commitf4a4c7cda043512ada81d7badfc2f35e8ce6e6f6 (patch)
treebf025baf4c62b6936e5bf5741588dcef23dcea59 /cmd/podman
parent00ecbfc1315a62940202574fb45f2ae2f4c48b63 (diff)
downloadpodman-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')
-rw-r--r--cmd/podman/runlabel.go2
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
}