summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Trivmix.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Trivmix.hs b/src/Trivmix.hs
index fe592fe..7a786f3 100644
--- a/src/Trivmix.hs
+++ b/src/Trivmix.hs
@@ -145,7 +145,7 @@ handleFiles inotify level files = do
145 forkIO $ forever $ do -- Broadcast level changes and update all files 145 forkIO $ forever $ do -- Broadcast level changes and update all files
146 readChan levelChanges' >>= writeLevel file 146 readChan levelChanges' >>= writeLevel file
147 addWatch inotify watchedAttrs file (const $ readLevel levelChanges level file) 147 addWatch inotify watchedAttrs file (const $ readLevel levelChanges level file)
148 sequence [onStateFile f (show initLevel ++ "\n") handleFile f | f <- files] 148 sequence [onStateFile f (show initLevel ++ "\n") $ handleFile f | f <- files]
149 forkIO $ forever $ do 149 forkIO $ forever $ do
150 readChan levelChanges >>= swapMVar level 150 readChan levelChanges >>= swapMVar level
151 return () 151 return ()