diff options
Diffstat (limited to 'internal/sys/std.go')
| -rw-r--r-- | internal/sys/std.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/sys/std.go b/internal/sys/std.go index 132f4c13..5e63396b 100644 --- a/internal/sys/std.go +++ b/internal/sys/std.go @@ -31,7 +31,8 @@ type Std struct { uidMu sync.RWMutex } -func (s *Std) Geteuid() int { return os.Geteuid() } +func (s *Std) Getuid() int { return os.Getuid() } +func (s *Std) Getgid() int { return os.Getgid() } func (s *Std) LookupEnv(key string) (string, bool) { return os.LookupEnv(key) } func (s *Std) TempDir() string { return os.TempDir() } func (s *Std) LookPath(file string) (string, error) { return exec.LookPath(file) } |
