summaryrefslogtreecommitdiff
path: root/Annex/Ssh.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-11 00:39:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-11 00:41:19 -0400
commit9c77052ce05f449e0951b802a448e9e87756b91e (patch)
tree742b25437297483df8534bcc9d6f90259738393d /Annex/Ssh.hs
parent7be93ff4de1b3cb5fb072feb126e02042d58b44b (diff)
random hlint (to give the autobuilder something new to build)
Diffstat (limited to 'Annex/Ssh.hs')
-rw-r--r--Annex/Ssh.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Ssh.hs b/Annex/Ssh.hs
index 8553ee797..aedf418f8 100644
--- a/Annex/Ssh.hs
+++ b/Annex/Ssh.hs
@@ -76,7 +76,7 @@ bestSocketPath abssocketfile = do
-- ssh appends a 16 char extension to the socket when setting it
-- up, which needs to be taken into account when checking
-- that a valid socket was constructed.
- sshgarbage = take (1+16) $ repeat 'X'
+ sshgarbage = replicate (1+16) 'X'
sshConnectionCachingParams :: FilePath -> [CommandParam]
sshConnectionCachingParams socketfile =