aboutsummaryrefslogtreecommitdiff
path: root/Utility/INotify.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-19 00:57:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-19 00:57:40 -0400
commit9fc94d780b7331da13597208ba37a9f4d4ab6531 (patch)
tree6572c007ac50a8086a6cdadf2c80de1fc4cc24ea /Utility/INotify.hs
parent1db7d27a451f552dbae8760e83c73b90da8114d5 (diff)
better readProcess
Diffstat (limited to 'Utility/INotify.hs')
-rw-r--r--Utility/INotify.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/INotify.hs b/Utility/INotify.hs
index 66c0ab23d..6af022819 100644
--- a/Utility/INotify.hs
+++ b/Utility/INotify.hs
@@ -160,7 +160,7 @@ tooManyWatches hook dir = do
querySysctl :: Read a => [CommandParam] -> IO (Maybe a)
querySysctl ps = do
- v <- catchMaybeIO $ readProcess "sysctl" (toCommand ps) []
+ v <- catchMaybeIO $ readProcess "sysctl" (toCommand ps)
case v of
Nothing -> return Nothing
Just s -> return $ parsesysctl s