summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-24 11:52:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-24 11:52:24 -0400
commit1b38f6aced8bb739c33fc410dd6b171aebd1fcd5 (patch)
treef24e2914b6ecb95efaddd031e5bea104cf69d859 /Utility
parentdeb6adc23f476ebf11fc1e464ed8e4f7b3b42a62 (diff)
whups, I didn't mean to commit this, it was in to more quickly test out of limit behavior
Diffstat (limited to 'Utility')
-rw-r--r--Utility/INotify.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Utility/INotify.hs b/Utility/INotify.hs
index 7c495fc67..7b5a1fbea 100644
--- a/Utility/INotify.hs
+++ b/Utility/INotify.hs
@@ -50,9 +50,6 @@ watchDir :: INotify -> FilePath -> (FilePath -> Bool) -> WatchHooks -> IO ()
watchDir i dir ignored hooks
| ignored dir = noop
| otherwise = do
- case errHook hooks of
- Nothing -> noop
- Just hook -> tooManyWatches hook dir
-- Use a lock to make sure events generated during initial
-- scan come before real inotify events.
lock <- newLock