summaryrefslogtreecommitdiff
path: root/Command/Uninit.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Uninit.hs')
-rw-r--r--Command/Uninit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Uninit.hs b/Command/Uninit.hs
index 93465df37..e9406ce3a 100644
--- a/Command/Uninit.hs
+++ b/Command/Uninit.hs
@@ -59,5 +59,5 @@ gitAttributesUnWrite repo = do
attrexists <- doesFileExist attributes
when attrexists $ do
c <- readFileStrict attributes
- writeFile attributes $ unlines $
+ safeWriteFile attributes $ unlines $
filter (/= Command.Init.attrLine) $ lines c