From b84c9bbb7c9db688118ad756c1c43ef034fd98fb Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Sun, 13 Sep 2015 00:46:49 +0200 Subject: Follow some hlint suggestions. --- src/Utility/Misc.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Utility/Misc.hs') diff --git a/src/Utility/Misc.hs b/src/Utility/Misc.hs index 45d5a063..ebb42576 100644 --- a/src/Utility/Misc.hs +++ b/src/Utility/Misc.hs @@ -136,7 +136,7 @@ hGetSomeString h sz = do - if this reap gets there first. -} reapZombies :: IO () #ifndef mingw32_HOST_OS -reapZombies = do +reapZombies = -- throws an exception when there are no child processes catchDefaultIO Nothing (getAnyProcessStatus False True) >>= maybe (return ()) (const reapZombies) -- cgit v1.3-2-g0d8e