mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
Merge pull request #7068 from mheon/start_attach_no_ctrid
The `podman start --attach` command should not print ID
This commit is contained in:
@ -99,7 +99,7 @@ func start(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
for _, r := range responses {
|
||||
if r.Err == nil {
|
||||
if r.Err == nil && !startOptions.Attach {
|
||||
fmt.Println(r.RawInput)
|
||||
} else {
|
||||
errs = append(errs, r.Err)
|
||||
|
Reference in New Issue
Block a user