Skip to content

Commit

Permalink
Merge pull request #7068 from mheon/start_attach_no_ctrid
Browse files Browse the repository at this point in the history
The `podman start --attach` command should not print ID
  • Loading branch information
openshift-merge-robot committed Jul 24, 2020
2 parents 417cc41 + 099649a commit c2deeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/podman/containers/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c2deeff

Please sign in to comment.