This commit is contained in:
Joey Hess 2012-10-26 23:43:39 -04:00
parent 0c0ef99341
commit 64992b4251

View file

@ -224,7 +224,7 @@ startAssistant assistant daemonize webappwaiter = withThreadState $ \st -> do
watch a = (True, a)
assist a = (False, a)
startthread dstatus (runner, watcher, t)
startthread dstatus (watcher, t)
| watcher || assistant = void $ forkIO $
runNamedThread dstatus t
| otherwise = noop