From 6e5c7520ffc866910bdad5078c9fa2a84a71a376 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 24 Apr 2013 11:52:24 -0400 Subject: [PATCH] whups, I didn't mean to commit this, it was in to more quickly test out of limit behavior --- Utility/INotify.hs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Utility/INotify.hs b/Utility/INotify.hs index 7c495fc67c..7b5a1fbeae 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