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:
Joey Hess 2012-10-25 18:17:32 -04:00
parent 2018de53a3
commit 7ee0ffaeb9
13 changed files with 49 additions and 20 deletions

View file

@ -10,3 +10,4 @@ What version of git-annex are you using? On what operating system?
Please provide any additional information below.
> [[fixed|done]] --[[Joey]]