protection
This commit is contained in:
parent
f01b8ae8d0
commit
2fa72da972
|
@ -2,6 +2,8 @@
|
||||||
ASTRONAUTENS="$1"
|
ASTRONAUTENS="$1"
|
||||||
MOATS="$2"
|
MOATS="$2"
|
||||||
|
|
||||||
|
[[ ! $ASTRONAUTENS || ! $MOATS ]] && echo "ASTRONAUTENS & MOATS needed" && exit 1
|
||||||
|
|
||||||
start=$(date +%s)
|
start=$(date +%s)
|
||||||
IPFSNODEID=$(ipfs id -f='<id>\n') || ( echo "IPFSNODEID MISSING" && exit 1 )
|
IPFSNODEID=$(ipfs id -f='<id>\n') || ( echo "IPFSNODEID MISSING" && exit 1 )
|
||||||
TUBE=$(head -n 2 ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | tail -n 1 | cut -d ' ' -f 3)
|
TUBE=$(head -n 2 ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | tail -n 1 | cut -d ' ' -f 3)
|
||||||
|
|
Loading…
Reference in New Issue