mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-03-31 06:24:11 -04:00
10 lines
103 B
Go
10 lines
103 B
Go
//go:build !windows
|
|
|
|
package networking
|
|
|
|
import "os"
|
|
|
|
func isRoot() bool {
|
|
return os.Geteuid() == 0
|
|
}
|