From 0ebd0f8181f91a31f40b7df95b340b92abe726f3 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 28 Sep 2013 23:08:37 +0200 Subject: vserver.functions: ensure that there are two paramters for test --- vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vserver.functions b/vserver.functions index fe0c182..2a2bf03 100644 --- a/vserver.functions +++ b/vserver.functions @@ -69,7 +69,7 @@ function _netnsWaitForDad() { while ip -6 -o addr show tentative | grep -q ' scope global '; do sleep 1 waiting=$((waiting+1)) - if [ $waiting -ge $1 ]; then + if [ "$waiting" -ge "$1" ]; then echo "Warning: IPv6 addresses still tentative after ${waiting} seconds; continuing..." return 0 fi -- cgit v1.2.3-1-g7c22