From 0e416dadd1281878388445007e45df741c387335 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Sun, 9 Jan 2022 13:13:47 +0100 Subject: [PATCH] wg-installer: fix typo in cleanup function The delete variable was misspelled leading to devices always being removed although they had connected neighbors. Signed-off-by: Nick Hainke --- net/wg-installer/common/wg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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