diff --git a/zssh.funcs.zsh b/zssh.funcs.zsh index 9c808be..10396b9 100644 --- a/zssh.funcs.zsh +++ b/zssh.funcs.zsh @@ -209,7 +209,7 @@ function zssh_generate_config4 cat "$src" >> "$dst" printf "\n IdentityFile %s\n\n" "$sshkey" >> "$dst" done - if ! matched + if ! $matched then zshlibs_log zssh_client "no configs for '$dst'" fi