summaryrefslogtreecommitdiff
path: root/cmd/podman/pause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pause.go')
-rw-r--r--cmd/podman/pause.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pause.go b/cmd/podman/pause.go
index e6224dcd2..203fa6070 100644
--- a/cmd/podman/pause.go
+++ b/cmd/podman/pause.go
@@ -26,7 +26,7 @@ var (
)
func pauseCmd(c *cli.Context) error {
- if os.Getuid() != 0 {
+ if os.Geteuid() != 0 {
return errors.New("pause is not supported for rootless containers")
}