diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-07-12 14:18:35 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-07-12 14:18:35 -0400 |
commit | 8a7b972e55fa6eaa4c754303b3ee8fd214a51468 (patch) | |
tree | cb41dbe7b3bb265a22b6d61631e5e27ab3e187fa /Test.hs | |
parent | 50c57ea1c0ec659e565578e9011e3111e6b11898 (diff) |
uninit: Fix crash due to trying to write to deleted keys db.
Reversion introduced by v6 mode support, affects v5 too.
Also fix a similar crash when the webapp is used to delete a repository.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1837,7 +1837,7 @@ cleanup = cleanup' False cleanup' :: Bool -> FilePath -> IO () cleanup' final dir = whenM (doesDirectoryExist dir) $ do - Command.Uninit.prepareRemoveAnnexDir dir + Command.Uninit.prepareRemoveAnnexDir' dir -- This sometimes fails on Windows, due to some files -- being still opened by a subprocess. catchIO (removeDirectoryRecursive dir) $ \e -> |