summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-21 06:08:57 -0700
committerEd Santiago <santiago@redhat.com>2019-02-21 13:49:42 -0700
commitbd354ad3ccd0ad85571958aef20c7d7ab903204d (patch)
treebad2f57ebe4fa8b46972fb7c172a9a01d3b4aab4 /cmd
parentad3ccd69f93da31f1002c2c9f6dccec3df9ab5b7 (diff)
downloadpodman-bd354ad3ccd0ad85571958aef20c7d7ab903204d.tar.gz
podman-bd354ad3ccd0ad85571958aef20c7d7ab903204d.tar.bz2
podman-bd354ad3ccd0ad85571958aef20c7d7ab903204d.zip
update: remove duplicate newline
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/formats/formats.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/podman/formats/formats.go b/cmd/podman/formats/formats.go
index d063d1e2b..37f9b8a20 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()