mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-09-05 16:47:25 -04:00
Update test to check for full FreeBSD support
This commit is contained in:
+2
-2
@@ -16,8 +16,8 @@ type Creds struct {
|
||||
uid string
|
||||
}
|
||||
|
||||
func (c *Creds) PID() (pid int, ok bool) {
|
||||
return c.pid, c.pid != 0
|
||||
func (c *Creds) PID() (pid int) {
|
||||
return c.pid
|
||||
}
|
||||
|
||||
// UserID returns the userid (or Windows SID) that owns the other side
|
||||
|
||||
Reference in New Issue
Block a user