remove unncessary do block

Left by Reiko's patch
This commit is contained in:
Joey Hess 2022-09-26 13:10:25 -04:00
parent 1d48153bb8
commit b411a1ce74
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -287,9 +287,8 @@ createContentDir dest = do
unlessM (liftIO $ R.doesPathExist dir) $ unlessM (liftIO $ R.doesPathExist dir) $
createAnnexDirectory dir createAnnexDirectory dir
-- might have already existed with restricted perms -- might have already existed with restricted perms
do thawHook dir
thawHook dir unlessM crippledFileSystem $ liftIO $ allowWrite dir
unlessM crippledFileSystem $ liftIO $ allowWrite dir
where where
dir = parentDir dest dir = parentDir dest