fix logic errors in code that determines if it's time for v10 upgrade
authorJoey Hess <joeyh@joeyh.name>
Mon, 25 Jul 2022 19:56:33 +0000 (15:56 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 25 Jul 2022 19:56:33 +0000 (15:56 -0400)
commit61b55d62d7d874c2a8734159c08a7f8302ebb235
treefa30eb2b4a3a1c44fe3b89a180695c772afbdb73
parenta6ff335f0b3fdc481552a67c20232f7c8adfb584
fix logic errors in code that determines if it's time for v10 upgrade

This would have prevented old git-annex from ever upgrading from v9 to
v10. Note that a manual `git-annex upgrade` can never run while the
assistant is running, so not <$> assistantrunning was always True,
so no matter what the timestamp of the v9 upgrade in the log, it would
decide there was old process danger.

Sponsored-by: Jack Hill on Patreon
Upgrade/V9.hs