mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-11-05 15:31:49 +08:00
8 lines
90 B
Go
8 lines
90 B
Go
package sysutils
|
|
|
|
import "os"
|
|
|
|
func IsRootPermission() bool {
|
|
return os.Geteuid() == 0
|
|
}
|