sshopts is never going to be null; the concat of it may be
This commit is contained in:
parent
39b876e096
commit
3c971c414e
1 changed files with 2 additions and 2 deletions
|
@ -280,14 +280,14 @@ sshOptionsTo remote gc g
|
|||
unchanged = return g
|
||||
|
||||
use opts = do
|
||||
let sshopts =
|
||||
let sshopts = concat
|
||||
[ opts
|
||||
, map Param (remoteAnnexSshOptions gc)
|
||||
]
|
||||
if null sshopts
|
||||
then unchanged
|
||||
else do
|
||||
let val = toSshOptionsEnv (concat sshopts)
|
||||
let val = toSshOptionsEnv sshopts
|
||||
command <- liftIO programPath
|
||||
liftIO $ do
|
||||
g' <- addGitEnv g sshOptionsEnv val
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue