diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-09-28 23:08:37 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-09-28 23:08:37 +0200 |
commit | 0ebd0f8181f91a31f40b7df95b340b92abe726f3 (patch) | |
tree | a5d992904cb2f307ba552839ebd0e203a3be052f /vserver.functions | |
parent | 182c9e19300d81ee1814a3fc74c908650ed88aea (diff) | |
download | util-vserver-netns-0ebd0f8181f91a31f40b7df95b340b92abe726f3.tar.gz util-vserver-netns-0ebd0f8181f91a31f40b7df95b340b92abe726f3.tar.bz2 util-vserver-netns-0ebd0f8181f91a31f40b7df95b340b92abe726f3.zip |
vserver.functions: ensure that there are two paramters for test
Diffstat (limited to 'vserver.functions')
-rw-r--r-- | vserver.functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 |