diff --git a/cmd/podman/formats/formats.go b/cmd/podman/formats/formats.go index d063d1e2b9..37f9b8a202 100644 --- a/cmd/podman/formats/formats.go +++ b/cmd/podman/formats/formats.go @@ -120,10 +120,6 @@ func (t StdoutTemplateArray) Out() error { fmt.Fprintln(w, "") continue } - // Only print new line at the end of the output if stdout is the terminal - if terminal.IsTerminal(int(os.Stdout.Fd())) { - fmt.Fprintln(w, "") - } } fmt.Fprintln(w, "") return w.Flush()