summaryrefslogtreecommitdiff
path: root/cmd/podman/early_init_unsupported.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-12-08 09:59:00 -0500
committerMatthew Heon <matthew.heon@pm.me>2020-12-08 09:59:00 -0500
commit46337b4708362e9fe2915c7efddc353d88a2cb5e (patch)
tree5412a06203ddc5380663df921143fccb9728765f /cmd/podman/early_init_unsupported.go
parent0cccba834ff2939579f7ef4c340a9337dc9d7d2c (diff)
downloadpodman-46337b4708362e9fe2915c7efddc353d88a2cb5e.tar.gz
podman-46337b4708362e9fe2915c7efddc353d88a2cb5e.tar.bz2
podman-46337b4708362e9fe2915c7efddc353d88a2cb5e.zip
Make `podman stats` slirp check more robust
Just checking for `rootless.IsRootless()` does not catch all the cases where slirp4netns is in use - we actually allow it to be used as root as well. Fortify the conditional here so we don't fail in the root + slirp case. Fixes #7883 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd/podman/early_init_unsupported.go')
0 files changed, 0 insertions, 0 deletions