Use USER and HOME environment when set, and only fall back to getpwent, which doesn't work with LDAP or NIS.
This commit is contained in:
parent
2018de53a3
commit
7ee0ffaeb9
13 changed files with 49 additions and 20 deletions
|
@ -31,6 +31,7 @@ import Remote (prettyListUUIDs)
|
|||
import Annex.UUID
|
||||
import Types.StandardGroups
|
||||
import Logs.PreferredContent
|
||||
import Utility.UserInfo
|
||||
|
||||
import Yesod
|
||||
import Data.Text (Text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue