mirror of https://github.com/containers/podman.git
update: remove duplicate newline
Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
ad3ccd69f9
commit
bd354ad3cc
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue