summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Helper/Ssh.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Helper/Ssh.hs b/Remote/Helper/Ssh.hs
index 88b29fdb6..c61d1b96f 100644
--- a/Remote/Helper/Ssh.hs
+++ b/Remote/Helper/Ssh.hs
@@ -20,8 +20,8 @@ import Annex.Ssh
sshToRepo :: Git.Repo -> [CommandParam] -> Annex [CommandParam]
sshToRepo repo sshcmd = do
opts <- map Param . words <$> getConfig repo "ssh-options" ""
- params <- sshParams (Git.Url.hostuser repo, Git.Url.port repo)
- return $ opts ++ params ++ sshcmd
+ params <- sshParams (Git.Url.hostuser repo, Git.Url.port repo) opts
+ return $ params ++ sshcmd
{- Generates parameters to run a git-annex-shell command on a remote
- repository. -}