diff options
Diffstat (limited to 'cmd/podman/unpause.go')
-rw-r--r-- | cmd/podman/unpause.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/unpause.go b/cmd/podman/unpause.go index d4e2605cb..a792aaf6d 100644 --- a/cmd/podman/unpause.go +++ b/cmd/podman/unpause.go @@ -26,7 +26,7 @@ var ( ) func unpauseCmd(c *cli.Context) error { - if os.Getuid() != 0 { + if os.Geteuid() != 0 { return errors.New("unpause is not supported for rootless containers") } |