diff --git a/tinc/check-node b/tinc/check-node index afc7f9f..f9d9fcc 100644 --- a/tinc/check-node +++ b/tinc/check-node @@ -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