summaryrefslogtreecommitdiff
path: root/Locations/UserConfig.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Locations/UserConfig.hs')
-rw-r--r--Locations/UserConfig.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Locations/UserConfig.hs b/Locations/UserConfig.hs
index 5da58eb9f..3a6a27e91 100644
--- a/Locations/UserConfig.hs
+++ b/Locations/UserConfig.hs
@@ -28,4 +28,4 @@ programFile = userConfigFile "program"
readProgramFile :: IO FilePath
readProgramFile = do
programfile <- programFile
- catchDefaultIO (readFile programfile) "git-annex"
+ catchDefaultIO "git-annex" $ readFile programfile