diff --git a/Assistant.hs b/Assistant.hs index 63fdc6251d..82f1572414 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