aboutsummaryrefslogtreecommitdiff
path: root/src/F2Md/Utils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/F2Md/Utils.hs')
-rw-r--r--src/F2Md/Utils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/F2Md/Utils.hs b/src/F2Md/Utils.hs
index 25bf63a..33abe00 100644
--- a/src/F2Md/Utils.hs
+++ b/src/F2Md/Utils.hs
@@ -28,5 +28,5 @@ expandPath path =
let (pre, post) = break (=='/') path in
case pre of
"~" -> (++ post) <$> getHomeDirectory
- '~' : user -> (++ post) <$> homeDirectory <$> getUserEntryForName user
+ '~' : user -> (++ post) . homeDirectory <$> getUserEntryForName user
_ -> return path