diff options
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/ps.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index 1f8db2739..71c8dee97 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -209,6 +209,10 @@ func psCmd(c *cliconfig.PsValues) error { span, _ := opentracing.StartSpanFromContext(Ctx, "psCmd") defer span.Finish() } + // TODO disable when single rootless userns merges + if c.Bool("size") && os.Geteuid() != 0 { + return errors.New("the --size option is not presently supported without root") + } var watch bool |