summaryrefslogtreecommitdiff
path: root/Command/Direct.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Direct.hs')
-rw-r--r--Command/Direct.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Direct.hs b/Command/Direct.hs
index c35bbdaea..47f622a81 100644
--- a/Command/Direct.hs
+++ b/Command/Direct.hs
@@ -23,8 +23,8 @@ def = [notBareRepo $ noDaemonRunning $
command "direct" paramNothing seek
SectionSetup "switch repository to direct mode"]
-seek :: [CommandSeek]
-seek = [withNothing start]
+seek :: CommandSeek
+seek = withNothing start
start :: CommandStart
start = ifM isDirect ( stop , next perform )