diff --git a/net/wg-installer/common/wg.sh b/net/wg-installer/common/wg.sh index 6a9ac9c65a..c6d02d92c7 100644 --- a/net/wg-installer/common/wg.sh +++ b/net/wg-installer/common/wg.sh @@ -32,7 +32,7 @@ check_wg_neighbors() { delete=1 for ip in $ips; do if [ $ip != $linklocal ] && [ $(owipcalc $ip linklocal) -eq 1 ]; then - delte=0 + delete=0 break fi done