From 04fe906ac6e611fd59ef44244a01e8fe61abec6f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 28 Jan 2011 12:35:51 -0400 Subject: use safewritefile --- Command/Uninit.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Uninit.hs') 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 -- cgit v1.2.3