summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-25 18:17:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-25 18:17:54 -0400
commita0f689bcd87c63fe6efdc5ad112a44241d74259e (patch)
treee6fc62c9a058e7dd37ff440c4f9252f1f5a34ccb /Remote
parent2ae218333249132c54360013c7c7f8c07594fa67 (diff)
Use USER and HOME environment when set, and only fall back to getpwent, which doesn't work with LDAP or NIS.
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Bup.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Remote/Bup.hs b/Remote/Bup.hs
index 916095cc9..375c5c352 100644
--- a/Remote/Bup.hs
+++ b/Remote/Bup.hs
@@ -26,6 +26,7 @@ import Remote.Helper.Encryptable
import Crypto
import Data.ByteString.Lazy.UTF8 (fromString)
import Data.Digest.Pure.SHA
+import Utility.UserInfo
type BupRepo = String