From a0f689bcd87c63fe6efdc5ad112a44241d74259e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2012 18:17:32 -0400 Subject: Use USER and HOME environment when set, and only fall back to getpwent, which doesn't work with LDAP or NIS. --- Assistant/Ssh.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Assistant') diff --git a/Assistant/Ssh.hs b/Assistant/Ssh.hs index 0d3ebcfac..de7665dad 100644 --- a/Assistant/Ssh.hs +++ b/Assistant/Ssh.hs @@ -9,6 +9,7 @@ module Assistant.Ssh where import Common.Annex import Utility.TempFile +import Utility.UserInfo import Data.Text (Text) import qualified Data.Text as T -- cgit v1.2.3