diff options
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Ssh.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Annex/Ssh.hs b/Annex/Ssh.hs index 7ead526cb..159480121 100644 --- a/Annex/Ssh.hs +++ b/Annex/Ssh.hs @@ -103,8 +103,9 @@ sshCacheDir where gettmpdir = liftIO $ getEnv "GIT_ANNEX_TMP_DIR" usetmpdir tmpdir = liftIO $ catchMaybeIO $ do - createDirectoryIfMissing True tmpdir - return tmpdir + let socktmp = tmpdir </> "ssh" + createDirectoryIfMissing True socktmp + return socktmp portParams :: Maybe Integer -> [CommandParam] portParams Nothing = [] |