diff options
Diffstat (limited to 'Upgrade/V0.hs')
-rw-r--r-- | Upgrade/V0.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Upgrade/V0.hs b/Upgrade/V0.hs index eabd03009..071fd12ee 100644 --- a/Upgrade/V0.hs +++ b/Upgrade/V0.hs @@ -48,7 +48,7 @@ lookupFile0 = Upgrade.V1.lookupFile1 getKeysPresent0 :: FilePath -> Annex [Key] getKeysPresent0 dir = do exists <- liftIO $ doesDirectoryExist dir - if (not exists) + if not exists then return [] else do contents <- liftIO $ getDirectoryContents dir |