Exit if zeronet is not installed

This commit is contained in:
Bob Mottram 2015-08-29 23:20:26 +01:00
parent 41a4c937f9
commit 7324b3863a
1 changed files with 4 additions and 0 deletions

View File

@ -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