summaryrefslogtreecommitdiff
path: root/Upgrade.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Upgrade.hs')
-rw-r--r--Upgrade.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Upgrade.hs b/Upgrade.hs
index 6cd75cf3e..a724ecce3 100644
--- a/Upgrade.hs
+++ b/Upgrade.hs
@@ -18,7 +18,7 @@ upgrade :: Annex Bool
upgrade = do
version <- getVersion
case version of
- "0" -> Upgrade.V0.upgrade
- "1" -> Upgrade.V1.upgrade
- "2" -> Upgrade.V2.upgrade
+ Just "0" -> Upgrade.V0.upgrade
+ Just "1" -> Upgrade.V1.upgrade
+ Just "2" -> Upgrade.V2.upgrade
_ -> return True