diff options
Diffstat (limited to 'Command/Fix.hs')
-rw-r--r-- | Command/Fix.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fix.hs b/Command/Fix.hs index 4b0151342..e15951c21 100644 --- a/Command/Fix.hs +++ b/Command/Fix.hs @@ -23,7 +23,7 @@ seek = [withFilesInGit $ whenAnnexed start] start :: FilePath -> (Key, Backend) -> CommandStart start file (key, _) = do link <- calcGitLink file key - stopUnless ((/=) link <$> liftIO (readSymbolicLink file)) $ do + stopUnless ((/=) (Just link) <$> liftIO (catchMaybeIO $ readSymbolicLink file)) $ do showStart "fix" file next $ perform file link |