dashman icon indicating copy to clipboard operation
dashman copied to clipboard

-gt: unary operator expected

Open dotexx opened this issue 7 years ago • 2 comments

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 avatar Oct 28 '17 01:10 dotexx

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

dotexx avatar Oct 28 '17 02:10 dotexx

And #21 !

dotexx avatar Oct 28 '17 02:10 dotexx