Merge 3f43c04750
into eb73692618
This commit is contained in:
commit
e5eda45c0d
|
@ -547,6 +547,7 @@ func GetRuntimeDirectory(targetUser *user.User) (string, error) {
|
|||
if uid == 0 {
|
||||
runtimeDirectory = "/run"
|
||||
} else {
|
||||
EnsureXdgRuntimeDirIsSet(uid)
|
||||
runtimeDirectory = os.Getenv("XDG_RUNTIME_DIR")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue