summaryrefslogtreecommitdiff
path: root/Command/RecvKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/RecvKey.hs')
-rw-r--r--Command/RecvKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/RecvKey.hs b/Command/RecvKey.hs
index c1c11a550..a1c6093e8 100644
--- a/Command/RecvKey.hs
+++ b/Command/RecvKey.hs
@@ -45,7 +45,7 @@ start key = ifM (inAnnex key)
where
go tmp = do
(opts,_,_) <- getOpt Permute rsyncSafeOptions <$>
- maybe [] (split " ") <$> getField "RsyncOptions"
+ maybe [] words <$> getField "RsyncOptions"
ifM (liftIO $ rsyncServerReceive (map Param opts) tmp)
( ifM (isJust <$> Fields.getField Fields.direct)
( directcheck tmp