dashman
dashman copied to clipboard
-gt: unary operator expected
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"]}"
It's look like issue #27 is related to this one.
And #21 !