From 52a46585b9f0022dd63fafa9d896770f81288ae4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 30 Dec 2013 13:18:40 -0400 Subject: [PATCH] fix build failure in windows code --- Utility/Tmp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/Tmp.hs b/Utility/Tmp.hs index 8c897d7491..5329467858 100644 --- a/Utility/Tmp.hs +++ b/Utility/Tmp.hs @@ -69,7 +69,7 @@ withTmpDirIn tmpdir template = bracket create remove -- after a process has just written to it and exited. -- Because it's crap, presumably. So, ignore failure -- to delete the temp directory. - catchIO $ removeDirectoryRecursive d + void $ catchIO $ removeDirectoryRecursive d #else removeDirectoryRecursive d #endif