walletsBalance.sh: Check silkaj installation
This commit is contained in:
parent
3332403604
commit
e9a203ac26
|
@ -6,6 +6,8 @@ GPATH="$( cd "$(dirname "$0")" ; pwd -P )/.."
|
||||||
source $GPATH/.env
|
source $GPATH/.env
|
||||||
node=$(cut -d '/' -f3 <<<"$DUNITER")
|
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
|
rm -f silkaj_error.log
|
||||||
|
|
||||||
work() {
|
work() {
|
||||||
|
|
Loading…
Reference in New Issue