summaryrefslogtreecommitdiff
path: root/Command/RecvKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/RecvKey.hs')
-rw-r--r--Command/RecvKey.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/RecvKey.hs b/Command/RecvKey.hs
index be6163558..33792e5b6 100644
--- a/Command/RecvKey.hs
+++ b/Command/RecvKey.hs
@@ -15,6 +15,7 @@ import CmdLine
import Content
import Utility.RsyncFile
import Utility.Conditional
+import Types
command :: [Command]
command = [repoCommand "recvkey" paramKey seek
@@ -23,7 +24,7 @@ command = [repoCommand "recvkey" paramKey seek
seek :: [CommandSeek]
seek = [withKeys start]
-start :: CommandStartKey
+start :: Key -> CommandStart
start key = do
whenM (inAnnex key) $ error "key is already present in annex"