Fix bootstrap

This commit is contained in:
poka 2020-03-19 19:17:55 +01:00
parent 9fe4341c97
commit 6422a6782d
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@
[[ $(basename "$PWD") == "astroport" ]] && echo "DO NOT EXECUTE THIS SCRIPT INSIDE ASTROPORT FOLDER!" && exit 1
[[ -d astroport ]] && rm -rf astroport && echo "astroport folder has been deleted."
isp2plegal=$(nc -zv -w 1 192.168.9.19 3000)
if [[ $isp2plegal =~ "(?) open" ]]; then
isp2plegal=$(nc -zv -w 1 192.168.9.19 3000 2<&1)
if [[ "$isp2plegal" =~ "(?) open" ]]; then
isp2plegalbool=true
giturl="http://192.168.9.19:3000"
else