mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
Output name of process on runlabel command
Signed-off-by: Nathaniel Kofalt <nathaniel@kofalt.com>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user