whups, I didn't mean to commit this, it was in to more quickly test out of limit behavior

This commit is contained in:
Joey Hess 2013-04-24 11:52:24 -04:00
parent 958cf53394
commit 6e5c7520ff

View file

@ -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