summaryrefslogtreecommitdiff
path: root/cmd/podman/top.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-05 05:56:46 -0800
committerGitHub <noreply@github.com>2019-03-05 05:56:46 -0800
commit85b116707bf84125f00c3bf39e28ef33a7d49066 (patch)
tree73411249df3fecb0ccc41dc1978af67242cc976a /cmd/podman/top.go
parent4b80517b6a638ff06f8ad432f0f0f5839283d058 (diff)
parent0b34327ad40e04861dac7f73870d87633a5c637e (diff)
downloadpodman-85b116707bf84125f00c3bf39e28ef33a7d49066.tar.gz
podman-85b116707bf84125f00c3bf39e28ef33a7d49066.tar.bz2
podman-85b116707bf84125f00c3bf39e28ef33a7d49066.zip
Merge pull request #2426 from giuseppe/exec-preserve-fds
exec: support --preserve-fds
Diffstat (limited to 'cmd/podman/top.go')
-rw-r--r--cmd/podman/top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/top.go b/cmd/podman/top.go
index cdf270fa7..d96402f1a 100644
--- a/cmd/podman/top.go
+++ b/cmd/podman/top.go
@@ -108,7 +108,7 @@ func topCmd(c *cliconfig.TopValues) error {
if err != nil {
return err
}
- became, ret, err := rootless.JoinNS(uint(pid))
+ became, ret, err := rootless.JoinNS(uint(pid), 0)
if err != nil {
return err
}