summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assistant.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant.hs b/Assistant.hs
index 63fdc6251..82f157241 100644
--- a/Assistant.hs
+++ b/Assistant.hs
@@ -76,7 +76,7 @@ startDaemon assistant foreground startdelay cannotrun listenhost startbrowser =
Annex.changeState $ \s -> s { Annex.daemon = True }
pidfile <- fromRepo gitAnnexPidFile
logfile <- fromRepo gitAnnexLogFile
- debugM desc $ "logging to " ++ logfile
+ liftIO $ debugM desc $ "logging to " ++ logfile
#ifndef mingw32_HOST_OS
createAnnexDirectory (parentDir logfile)
logfd <- liftIO $ handleToFd =<< openLog logfile