diff options
author | Brent Baude <bbaude@redhat.com> | 2019-02-21 15:21:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 15:21:27 -0600 |
commit | 3447edd2eccd73dd9123385eb31e4630f6b8b949 (patch) | |
tree | bad2f57ebe4fa8b46972fb7c172a9a01d3b4aab4 /cmd | |
parent | ad3ccd69f93da31f1002c2c9f6dccec3df9ab5b7 (diff) | |
parent | bd354ad3ccd0ad85571958aef20c7d7ab903204d (diff) | |
download | podman-3447edd2eccd73dd9123385eb31e4630f6b8b949.tar.gz podman-3447edd2eccd73dd9123385eb31e4630f6b8b949.tar.bz2 podman-3447edd2eccd73dd9123385eb31e4630f6b8b949.zip |
Merge pull request #4 from edsantiago/pr2389_update
update: remove duplicate newline
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/formats/formats.go | 4 |
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() |