1
0
Fork 0
forked from ahurac/dotfiles

Correction : erreur shellcheck dans vncsconnect

La fonction ssh_bridge_already_exists ne recevait jamais l'argument
qu'elle attendait
This commit is contained in:
Hippolyte Chauvin 2023-10-19 18:44:28 +02:00
parent e9df504f59
commit a156705e61

View file

@ -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à !"