summaryrefslogtreecommitdiff
path: root/Command/Direct.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-22 16:41:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-22 16:41:46 -0400
commit3cf16ebe5ea70e79bc4e45214265009ef7b975d0 (patch)
treed751054a064714d10ae70d75688fa1a1b3e9483f /Command/Direct.hs
parentafec3a563930bb402b66d4c3c4c4c9c0572b1aa1 (diff)
direct, indirect: Refuse to do anything when the assistant or git-annex watch daemon is running.
Diffstat (limited to 'Command/Direct.hs')
-rw-r--r--Command/Direct.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Direct.hs b/Command/Direct.hs
index 7ded712ae..7835988b4 100644
--- a/Command/Direct.hs
+++ b/Command/Direct.hs
@@ -17,7 +17,7 @@ import Annex.Direct
import Annex.Version
def :: [Command]
-def = [notBareRepo $
+def = [notBareRepo $ noDaemonRunning $
command "direct" paramNothing seek
SectionSetup "switch repository to direct mode"]