mirror of
https://github.com/containers/podman.git
synced 2025-07-27 10:22:49 +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
|
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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user