From f641c2d9384ea5cbc3f2f6a4188d54c33a85c17b Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 25 Oct 2018 13:53:12 -0500 Subject: fix bug in rm -fa parallel deletes Signed-off-by: baude --- cmd/podman/ps.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/podman') diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index fa333f952..d63618e58 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -351,7 +351,9 @@ func psCmd(c *cli.Context) error { // Output Namespace headers fmt.Fprintf(w, "\n%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s", hid, hnames, nspid, nscgroup, nsipc, nsmnt, nsnet, nspidns, nsuserns, nsuts) } - + if len(pss) == 0 { + fmt.Fprint(w, "\n") + } // Now iterate each container and output its information for _, container := range pss { -- cgit v1.2.3-54-g00ecf