fix
This commit is contained in:
parent
4a36d569c3
commit
0cb1a0a605
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ withTmpDirIn tmpdir template = bracket create remove
|
||||||
-- after a process has just written to it and exited.
|
-- after a process has just written to it and exited.
|
||||||
-- Because it's crap, presumably. So, ignore failure
|
-- Because it's crap, presumably. So, ignore failure
|
||||||
-- to delete the temp directory.
|
-- to delete the temp directory.
|
||||||
void $ catchIO $ removeDirectoryRecursive d
|
_ <- tryIO $ removeDirectoryRecursive d
|
||||||
|
return ()
|
||||||
#else
|
#else
|
||||||
removeDirectoryRecursive d
|
removeDirectoryRecursive d
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue