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 <vincent@systemli.org>
(cherry picked from commit 0e416dadd1
)
This commit is contained in:
parent
1de352b603
commit
f2745c85a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue