summaryrefslogtreecommitdiff
path: root/RemoteDaemon
diff options
context:
space:
mode:
Diffstat (limited to 'RemoteDaemon')
-rw-r--r--RemoteDaemon/Core.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/RemoteDaemon/Core.hs b/RemoteDaemon/Core.hs
index 405a1fd88..a861ec29b 100644
--- a/RemoteDaemon/Core.hs
+++ b/RemoteDaemon/Core.hs
@@ -28,7 +28,7 @@ import qualified Data.Map as M
runForeground :: IO ()
runForeground = do
- (readh, writeh) <- ioHandles
+ (readh, writeh) <- dupIoHandles
ichan <- newTChanIO :: IO (TChan Consumed)
ochan <- newTChanIO :: IO (TChan Emitted)