Update check-node

This commit is contained in:
Manevolent 2023-04-13 01:14:49 -06:00 committed by GitHub
parent 30f6f8d91e
commit e28d7fa1b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
num_macs=`ls /tmp/tinc/peer/$NODE/mac | wc -l`
num_ips=`ls /tmp/tinc/peer/$NODE/ip | wc -l`
if [ "$num_macs" = "1" ]; then
if [ "$num_ips" = "0"]; then
if [ "$num_ips" = "0" ]; then
exit 1
fi