hoster/internals/helpers/root.go
2024-08-28 12:31:17 +02:00

8 lines
83 B
Go

package helpers
import "os"
func IsRootUser() bool {
return os.Geteuid() == 0
}