Merge pull request #3158 from kofalt/runlabel-formating

Output name of process on runlabel command
This commit is contained in:
OpenShift Merge Robot 2019-05-20 10:42:52 +02:00 committed by GitHub
commit a83edf23ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}