From a156705e614f1fbbbf6e8f1b0148a2e6c6d75973 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Thu, 19 Oct 2023 18:44:28 +0200 Subject: [PATCH] Correction : erreur shellcheck dans vncsconnect La fonction ssh_bridge_already_exists ne recevait jamais l'argument qu'elle attendait --- bin/vncsconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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à !"