Update dependencies to include github.com/godbus/dbus
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
3a9e7036a1
commit
69ed8639cd
73 changed files with 7291 additions and 31 deletions
15
vendor/github.com/godbus/dbus/homedir_dynamic.go
generated
vendored
Normal file
15
vendor/github.com/godbus/dbus/homedir_dynamic.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// +build !static_build
|
||||
|
||||
package dbus
|
||||
|
||||
import (
|
||||
"os/user"
|
||||
)
|
||||
|
||||
func lookupHomeDir() string {
|
||||
u, err := user.Current()
|
||||
if err != nil {
|
||||
return "/"
|
||||
}
|
||||
return u.HomeDir
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue