diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-25 18:17:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-25 18:17:54 -0400 |
commit | a0f689bcd87c63fe6efdc5ad112a44241d74259e (patch) | |
tree | e6fc62c9a058e7dd37ff440c4f9252f1f5a34ccb /Utility/FreeDesktop.hs | |
parent | 2ae218333249132c54360013c7c7f8c07594fa67 (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 'Utility/FreeDesktop.hs')
-rw-r--r-- | Utility/FreeDesktop.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utility/FreeDesktop.hs b/Utility/FreeDesktop.hs index 0845f3329..7aba1f272 100644 --- a/Utility/FreeDesktop.hs +++ b/Utility/FreeDesktop.hs @@ -25,6 +25,7 @@ module Utility.FreeDesktop ( import Utility.Exception import Utility.Path +import Utility.UserInfo import Utility.Process import Utility.PartialPrelude |