no openLog on windows

This commit is contained in:
Joey Hess 2013-11-12 21:02:45 -04:00
parent b426e229f7
commit 4ae4ae78d7

View file

@ -68,8 +68,8 @@ startDaemon assistant foreground startdelay listenhost startbrowser = do
Annex.changeState $ \s -> s { Annex.daemon = True }
pidfile <- fromRepo gitAnnexPidFile
logfile <- fromRepo gitAnnexLogFile
logfd <- liftIO $ openLog logfile
#ifndef mingw32_HOST_OS
logfd <- liftIO $ openLog logfile
if foreground
then do
origout <- liftIO $ catchMaybeIO $