walletsBalance.sh: Check silkaj installation

This commit is contained in:
poka 2020-10-16 22:01:11 +02:00
parent 3332403604
commit e9a203ac26
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ GPATH="$( cd "$(dirname "$0")" ; pwd -P )/.."
source $GPATH/.env
node=$(cut -d '/' -f3 <<<"$DUNITER")
#Check if Silkaj is installed
[[ ! $(which silkaj) ]] && echo "Erreur: Vous devez installer Silkaj." && exit 1
rm -f silkaj_error.log
work() {