fix bug in rm -fa parallel deletes

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2018-10-25 13:53:12 -05:00
parent f6e7807fa5
commit f641c2d938

View File

@ -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 {