mirror of https://github.com/containers/podman.git
Merge pull request #2881 from edsantiago/revert_2832
ps: now works with --size and nonroot
This commit is contained in:
commit
40a1df38d1
|
|
@ -205,10 +205,6 @@ func psCmd(c *cliconfig.PsValues) error {
|
||||||
span, _ := opentracing.StartSpanFromContext(Ctx, "psCmd")
|
span, _ := opentracing.StartSpanFromContext(Ctx, "psCmd")
|
||||||
defer span.Finish()
|
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
|
var watch bool
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue