From b411a1ce7495f23ae7956b553ff0cda14be109e8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 26 Sep 2022 13:10:25 -0400 Subject: [PATCH] remove unncessary do block Left by Reiko's patch --- Annex/Perms.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Annex/Perms.hs b/Annex/Perms.hs index 69e344452a..e6ed48a4d0 100644 --- a/Annex/Perms.hs +++ b/Annex/Perms.hs @@ -287,9 +287,8 @@ createContentDir dest = do unlessM (liftIO $ R.doesPathExist dir) $ createAnnexDirectory dir -- might have already existed with restricted perms - do - thawHook dir - unlessM crippledFileSystem $ liftIO $ allowWrite dir + thawHook dir + unlessM crippledFileSystem $ liftIO $ allowWrite dir where dir = parentDir dest