aboutsummaryrefslogtreecommitdiff
path: root/Assistant.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant.hs')
-rw-r--r--Assistant.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Assistant.hs b/Assistant.hs
index e924d9477..33c7cef36 100644
--- a/Assistant.hs
+++ b/Assistant.hs
@@ -55,10 +55,10 @@ import Utility.LogFile
import Control.Concurrent
-startDaemon :: Bool -> Annex ()
-startDaemon foreground
+startDaemon :: Bool -> Bool -> Annex ()
+startDaemon assistant foreground
| foreground = do
- showStart "watch" "."
+ showStart (if assistant then "assistant" else "watch") "."
go id
| otherwise = do
logfd <- liftIO . openLog =<< fromRepo gitAnnexLogFile