Exit if zeronet is not installed
This commit is contained in:
parent
41a4c937f9
commit
7324b3863a
|
@ -379,6 +379,10 @@ if [ ! $peer_index ]; then
|
|||
fi
|
||||
|
||||
if [[ $peer_index == 1 ]]; then
|
||||
if [ ! -d $ZERONET_DIR ]; then
|
||||
echo 'zeronet was not installed'
|
||||
exit 63
|
||||
fi
|
||||
cd $ZERONET_DIR
|
||||
|
||||
if [ ! -d ~/.bttrack ]; then
|
||||
|
|
Loading…
Reference in New Issue