1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00
Files
os/vendor/github.com/godbus/dbus/homedir_dynamic.go
Darren Shepherd 03db5d1058 Update vendor/
2016-06-06 08:08:00 -07:00

16 lines
171 B
Go

// +build !static_build
package dbus
import (
"os/user"
)
func lookupHomeDir() string {
u, err := user.Current()
if err != nil {
return "/"
}
return u.HomeDir
}