fix build
This commit is contained in:
parent
f845195354
commit
47a2a9b621
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ needsUpgrade v
|
|||
Just newv -> ifM (annexAutoUpgradeRepository <$> Annex.getGitConfig)
|
||||
( tryNonAsync (upgrade True newv) >>= \case
|
||||
Right True -> ok
|
||||
Right False -> "Automatic upgrade failed!"
|
||||
Left err -> "Automatic upgrade exception! " ++ show err
|
||||
Right False -> err "Automatic upgrade failed!"
|
||||
Left ex -> err $ "Automatic upgrade exception! " ++ show ex
|
||||
, err "Automatic upgrade is disabled by annex.autoupgraderepository configuration. To upgrade this repository: git-annex upgrade"
|
||||
)
|
||||
where
|
||||
|
|
Loading…
Reference in a new issue