diff --git a/scripts/walletsBalance.sh b/scripts/walletsBalance.sh index ab1c843..afa78f9 100755 --- a/scripts/walletsBalance.sh +++ b/scripts/walletsBalance.sh @@ -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() {