diff --git a/zssh.funcs.zsh b/zssh.funcs.zsh index b3220b0..0cb164f 100644 --- a/zssh.funcs.zsh +++ b/zssh.funcs.zsh @@ -141,7 +141,7 @@ function zssh_mail_pubkey2() then zshlibs_ensure -d "$(zssh_node_info ${ssh_node} -K)" zshlibs_log zssh_client "sending '$(zssh_node_info ${ssh_node} -k) to '$(zssh_node_info ${ssh_node} -K ${zssh_host})'" - cp "$(zssh_node_info ${ssh_node} -k)" "(zssh_node_info ${ssh_node} -K ${zssh_host})" + cp "$(zssh_node_info ${ssh_node} -k)" "$(zssh_node_info ${ssh_node} -K ${zssh_host})" else zshlibs_log zssh_client "'$(zssh_node_info ${ssh_node} -K ${zssh_host})' already mailed" fi