Merge pull request #7068 from mheon/start_attach_no_ctrid

The `podman start --attach` command should not print ID
This commit is contained in:
OpenShift Merge Robot
2020-07-24 17:07:14 +02:00
committed by GitHub

View File

@ -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)