moocowmoo / dashman

DASH wallet/daemon management utilities
MIT License
52 stars 38 forks source link

-gt: unary operator expected #28

Open dotexx opened 6 years ago

dotexx commented 6 years ago

If sentinel is not installed (or not installed in default folder) cause the error. Double brackets solve the issue [[ ]]

pending " sentinel installed : " ; [[ $SENTINEL_INSTALLED -gt 0 ]] && ok "${messages["YES"]}" || err "${messages["NO"]}"

pending " sentinel tests passed : " ; [[ $SENTINEL_PYTEST -eq 0 ]] && ok "${messages["YES"]}" || err "${messages["NO"]}"

pending " sentinel crontab enabled : " ; [[ $SENTINEL_CRONTAB -gt 0 ]] && ok "${messages["YES"]}" || err "${messages["NO"]}"

mn_error_gt

dotexx commented 6 years ago

It's look like issue #27 is related to this one.

dotexx commented 6 years ago

And #21 !