Skip to content

Commit e3d9537

Browse files
committed
Merge pull request #35 from aphyr/develop
clj-ssh/download: fix :recursive and :preserve flags.
2 parents 6d5bba9 + 16361d2 commit e3d9537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/clj_ssh/ssh.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,8 +1080,9 @@ cmd specifies a command to exec. Valid commands are:
10801080
(->>
10811081
(select-keys opts [:recursive :preserve])
10821082
(filter val)
1083-
(map (fn [k v] (k flags))))))
1083+
(map (comp flags key)))))
10841084
(string/join " " remote-paths))
1085+
_ (println cmd)
10851086
_ (logging/tracef "scp-from: %s" cmd)
10861087
{:keys [^ChannelExec channel
10871088
^PipedInputStream out-stream]}

0 commit comments

Comments
 (0)