diff --git a/bin/vncsconnect b/bin/vncsconnect index e6f2a33..db2f3c8 100755 --- a/bin/vncsconnect +++ b/bin/vncsconnect @@ -37,7 +37,7 @@ if [ -n "$separator" ]; then fi # Exécution -if ! ssh_bridge_already_exists; then +if ! ssh_bridge_already_exists "${ssh_args[1]}"; then ssh-fwd "${ssh_args[@]}" -- "$@" || exit else echo "Le pont SSH existe déjà !"