Skip to content

Commit

Permalink
fix unintended check
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahyyg committed Jan 21, 2021
1 parent 591485a commit e1bf079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start_ztncui.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

while [ ! -z $MYADDR ]; do
if [ -z $MYADDR ]; then
echo "Set Your IP Address to continue."
echo "If you don't do that, I will automatically detect."
MYADDR=$(curl ip.sb)
echo "YOUR IP: ${MYADDR}"
done
fi

MYDOMAIN=${MYDOMAIN:-ztncui.docker.test} # Used for minica
ZTNCUI_PASSWD=${ZTNCUI_PASSWD:-password} # Used for argon2g
Expand Down

0 comments on commit e1bf079

Please sign in to comment.