summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-30 13:18:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-30 13:18:40 -0400
commit27987f02e3a8a7e80b61168de0cfe73fd55e246f (patch)
tree727e34bbbcc25da2acfc383c481e87e0fd78eb77 /Utility
parent60d4f00ca2343977a6ef938e890aedc29db7e818 (diff)
fix build failure in windows code
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Tmp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Tmp.hs b/Utility/Tmp.hs
index 8c897d749..532946785 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