Output name of process on runlabel command

Signed-off-by: Nathaniel Kofalt <nathaniel@kofalt.com>
This commit is contained in:
Nathaniel Kofalt
2019-05-18 23:31:52 -05:00
parent 00ecbfc131
commit f4a4c7cda0

@ -152,7 +152,7 @@ func runlabelCmd(c *cliconfig.RunlabelValues) error {
return err return err
} }
if !c.Quiet { 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 { if c.Display {
return nil return nil
} }