summaryrefslogtreecommitdiff
path: root/Command/Indirect.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Indirect.hs')
-rw-r--r--Command/Indirect.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Indirect.hs b/Command/Indirect.hs
index 9ce2751be..59972a66b 100644
--- a/Command/Indirect.hs
+++ b/Command/Indirect.hs
@@ -21,8 +21,9 @@ import Annex.Version
import Init
def :: [Command]
-def = [notBareRepo $ command "indirect" paramNothing seek
- SectionSetup "switch repository to indirect mode"]
+def = [notBareRepo $ noDaemonRunning $
+ command "indirect" paramNothing seek
+ SectionSetup "switch repository to indirect mode"]
seek :: [CommandSeek]
seek = [withNothing start]