From 3b944fc19adcaf60e52905b645316ff59dec6fa6 Mon Sep 17 00:00:00 2001 From: Tellsanguis Date: Mon, 29 Dec 2025 14:09:07 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20bug:=20local=20utilis=C3=A9=20hors?= =?UTF-8?q?=20fonction=20(ligne=201265)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zfs-nfs-replica.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs-nfs-replica.sh b/zfs-nfs-replica.sh index 3524fc1..68e62d4 100644 --- a/zfs-nfs-replica.sh +++ b/zfs-nfs-replica.sh @@ -1262,7 +1262,7 @@ fi # Déterminer le nœud distant et son IP # Vérifier que le nœud local est dans la configuration if [[ ! -v "CLUSTER_NODES[$LOCAL_NODE]" ]]; then - local valid_nodes="${!CLUSTER_NODES[@]}" + valid_nodes="${!CLUSTER_NODES[@]}" log "error" "Nœud inconnu: ${LOCAL_NODE}. Nœuds valides: ${valid_nodes}" exit 1 fi