Update check-node
This commit is contained in:
parent
30f6f8d91e
commit
e28d7fa1b4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user