mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 21:13:44 +02:00
added additional informational messages to argument usage in zerotier docker image
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
This commit is contained in:
parent
f41372680d
commit
2388c9f4e4
1 changed files with 6 additions and 0 deletions
|
@ -58,6 +58,12 @@ do
|
||||||
|
|
||||||
zerotier-cli join "$i"
|
zerotier-cli join "$i"
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
echo >&2 "ZeroTier could not be started; did you pass the right arguments to \`docker run\`?"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
while [ "$(zerotier-cli get $i status)" != "OK" ]
|
while [ "$(zerotier-cli get $i status)" != "OK" ]
|
||||||
do
|
do
|
||||||
echo "joining $i failed (are they added in central?); trying again in 1s"
|
echo "joining $i failed (are they added in central?); trying again in 1s"
|
||||||
|
|
Loading…
Add table
Reference in a new issue