summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-20 10:42:52 +0200
committerGitHub <noreply@github.com>2019-05-20 10:42:52 +0200
commita83edf23ac8fb12f8787ead5257b35425e1996d6 (patch)
tree35da1a741c28f18974f1db8b618f7ae2c2f114b9
parent5c0dfd0a4dd1b9fb702f62258c0c664bdae584ed (diff)
parentf4a4c7cda043512ada81d7badfc2f35e8ce6e6f6 (diff)
downloadpodman-a83edf23ac8fb12f8787ead5257b35425e1996d6.tar.gz
podman-a83edf23ac8fb12f8787ead5257b35425e1996d6.tar.bz2
podman-a83edf23ac8fb12f8787ead5257b35425e1996d6.zip
Merge pull request #3158 from kofalt/runlabel-formating
Output name of process on runlabel command
-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
}