mirror of
https://github.com/containers/podman.git
synced 2025-07-31 20:32:39 +08:00
Merge pull request #2881 from edsantiago/revert_2832
ps: now works with --size and nonroot
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user