diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-25 15:22:18 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-25 15:22:18 -0400 |
commit | 770ab040c32ff0f75c54e1975bf784b116c8d584 (patch) | |
tree | cb464beda71e178478f89cc08eea7146e58e3712 /Annex/Journal.hs | |
parent | 4fe58c77f75a5878030df85c75955c94e2e24f88 (diff) | |
parent | f9a9ee1f739843b0b7c12a620d7adb55939bacbc (diff) |
Merge branch 'robustness'
Diffstat (limited to 'Annex/Journal.hs')
-rw-r--r-- | Annex/Journal.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Journal.hs b/Annex/Journal.hs index e68591ce2..0f0803aaa 100644 --- a/Annex/Journal.hs +++ b/Annex/Journal.hs @@ -84,7 +84,7 @@ lockJournal a = do lockfile <- fromRepo gitAnnexJournalLock createAnnexDirectory $ takeDirectory lockfile mode <- annexFileMode - bracketIO (lock lockfile mode) unlock a + bracketIO (lock lockfile mode) unlock (const a) where lock lockfile mode = do #ifndef __WINDOWS__ |