diff options
Diffstat (limited to 'Assistant.hs')
-rw-r--r-- | Assistant.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Assistant.hs b/Assistant.hs index b5caceac2..5dd6a7ece 100644 --- a/Assistant.hs +++ b/Assistant.hs @@ -84,9 +84,7 @@ startDaemon assistant foreground startdelay cannotrun listenhost startbrowser = fdToHandle =<< dup stdError let undaemonize a = do debugM desc $ "logging to " ++ logfile - Utility.Daemon.lockPidFile pidfile - Utility.LogFile.redirLog logfd - a + Utility.Daemon.foreground logfd (Just pidfile) a start undaemonize $ case startbrowser of Nothing -> Nothing |